src/Palete/ValaSourceCompiler.vala
authorAlan Knowles <alan@roojs.com>
Thu, 3 Dec 2015 05:18:14 +0000 (13:18 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 3 Dec 2015 05:18:14 +0000 (13:18 +0800)
src/Palete/ValaSourceCompiler.vala

index 64c77c6..a6dfd31 100644 (file)
@@ -413,7 +413,7 @@ namespace Palete {
                        
                        string [] cc_options = { "-lm" };
                        
-#if VALA_0_28
+#if VALA_0_28 || VALA_0_30
                        var pkg_config_command = Environment.get_variable ("PKG_CONFIG");
                        ccompiler.compile (context, cc_command, cc_options, pkg_config_command);
 #else