summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen W. Taylor <otaylor@fishsoup.net>2010-12-22 15:42:41 -0500
committerOwen W. Taylor <otaylor@fishsoup.net>2010-12-22 15:42:41 -0500
commitc81c2290d6c8b86cc40f42ab1e3ff075c07bc16f (patch)
treee9976403929e3bda61dc1d25dea66ebe4099099f
parent4a4d68e58b0dd22b8447b40c3e5264b9a3797426 (diff)
downloadgobject-introspection-GOBJECT_INTROSPECTION_0_10_0.tar.gz
Fix srcdir != builddir problems for test casesGOBJECT_INTROSPECTION_0_10_0
-rw-r--r--Makefile-cmph.am2
-rw-r--r--Makefile-girepository.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile-cmph.am b/Makefile-cmph.am
index 65617a01..7bca06b4 100644
--- a/Makefile-cmph.am
+++ b/Makefile-cmph.am
@@ -69,6 +69,6 @@ libcmph_la_SOURCES = \
GTESTER_PROGS += cmph-bdz-test
cmph_bdz_test_SOURCES = girepository/cmph-bdz-test.c
-cmph_bdz_test_CFLAGS = -Igirepository/cmph $(GOBJECT_CFLAGS)
+cmph_bdz_test_CFLAGS = -I$(top_srcdir)/girepository/cmph $(GOBJECT_CFLAGS)
cmph_bdz_test_LDADD = libcmph.la $(GOBJECT_LIBS)
diff --git a/Makefile-girepository.am b/Makefile-girepository.am
index b43cacde..3fbcac68 100644
--- a/Makefile-girepository.am
+++ b/Makefile-girepository.am
@@ -82,5 +82,5 @@ gdump_DATA = girepository/gdump.c
GTESTER_PROGS += gthash-test
gthash_test_SOURCES = girepository/gthash.c girepository/gthash-test.c
-gthash_test_CFLAGS = -Igirepository $(GOBJECT_CFLAGS)
+gthash_test_CFLAGS = -I$(top_srcdir)/girepository $(GOBJECT_CFLAGS)
gthash_test_LDADD = libcmph.la libgirepository-1.0.la $(GOBJECT_LIBS)