[gobject-introspection] Fix srcdir != builddir problems for test cases
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Fix srcdir != builddir problems for test cases
- Date: Wed, 22 Dec 2010 20:54:06 +0000 (UTC)
commit c81c2290d6c8b86cc40f42ab1e3ff075c07bc16f
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Wed Dec 22 15:42:41 2010 -0500
Fix srcdir != builddir problems for test cases
Makefile-cmph.am | 2 +-
Makefile-girepository.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Makefile-cmph.am b/Makefile-cmph.am
index 65617a0..7bca06b 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 b43cacd..3fbcac6 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]