src/Builder4/ClutterFiles.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 27 May 2015 07:23:52 +0000 (15:23 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 27 May 2015 07:23:52 +0000 (15:23 +0800)
src/Builder4/ClutterFiles.vala

configure.ac
src/Project/Gtk.vala

index e76b41f..eb6fbcb 100644 (file)
@@ -16,7 +16,7 @@ AC_PROG_CC
 AM_PROG_VALAC([0.22.0])
 
 
-AC_CHECK_LIB([m])
+AC_CHECK_LIB([m],[cos])
 
 dnl we need to check these exist, then it will generate a compile string for them.
 
index cf250fc..706fe68 100644 (file)
@@ -292,7 +292,7 @@ namespace Project {
                                                GLib.debug("SKIP %s - .o",fn);
                                                continue;
                                        }
-                                       if ("stamp-h1" == bn)) {
+                                       if ("stamp-h1" == bn) {
                                                GLib.debug("SKIP %s - .o",fn);
                                                continue;
                                        }
@@ -310,7 +310,7 @@ namespace Project {
                                                }
                                        }
                                        
-                                       if (Regex.match_simple("^\\.", GLib.Path.get_basename(fn))) {
+                                       if (Regex.match_simple("^\\.", bn)) {
                                                GLib.debug("SKIP %s - hidden",fn);
                                                continue;
                                        }