From 58998b89f89d81ae0da85c326b09fc36b7bca5ba Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 27 May 2015 15:23:52 +0800 Subject: [PATCH] src/Builder4/ClutterFiles.bjs src/Builder4/ClutterFiles.vala --- configure.ac | 2 +- src/Project/Gtk.vala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index e76b41f0c..eb6fbcbe0 100644 --- a/configure.ac +++ b/configure.ac @@ -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. diff --git a/src/Project/Gtk.vala b/src/Project/Gtk.vala index cf250fce7..706fe68e0 100644 --- a/src/Project/Gtk.vala +++ b/src/Project/Gtk.vala @@ -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; } -- 2.39.2