projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec6aeac
)
src/Palete/ValaSourceCompiler.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 28 May 2015 06:51:32 +0000
(14:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 28 May 2015 06:51:32 +0000
(14:51 +0800)
src/Palete/ValaSourceCompiler.vala
patch
|
blob
|
history
diff --git
a/src/Palete/ValaSourceCompiler.vala
b/src/Palete/ValaSourceCompiler.vala
index
0431a76
..
11595eb
100644
(file)
--- a/
src/Palete/ValaSourceCompiler.vala
+++ b/
src/Palete/ValaSourceCompiler.vala
@@
-399,11
+399,12
@@
namespace Palete {
var ccompiler = new Vala.CCodeCompiler ();
var cc_command = Environment.get_variable ("CC");
- var pkg_config_command = Environment.get_variable ("PKG_CONFIG");
+
string [] cc_options = { "-lm" };
#if VALA_0_28
+ var pkg_config_command = Environment.get_variable ("PKG_CONFIG");
ccompiler.compile (context, cc_command, cc_options, pkg_config_command);
#else
ccompiler.compile (context, cc_command, cc_options);