summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2009-09-14 12:47:26 -0700
committerDavid Schleef <ds@schleef.org>2009-09-14 12:47:26 -0700
commitebe095420a48f4e7b1fc707e5755ed0156c92d49 (patch)
tree50049897f366c46139121b8c34774797149e3e10
parent4d472935a66b93cd3cbae3fef68b62f978d8dbed (diff)
Fix out-of-tree build
-rw-r--r--configure.ac2
-rw-r--r--libs/gst/check/Makefile.am1
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5d5994f4e5..6dff8294f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -625,7 +625,7 @@ dnl - src and build dirs need to be added because every piece that gets built
dnl will need the GStreamer source and generated headers
dnl LIBS: XML doesn't need to be added because we don't explicitly use symbols
dnl from LibXML except for in the core library
-GST_ALL_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir) $GLIB_CFLAGS $XML_CFLAGS \$(GST_OPTION_CFLAGS)"
+GST_ALL_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS $XML_CFLAGS \$(GST_OPTION_CFLAGS)"
dnl FIXME: check if LTLIBINTL is needed everywhere
dnl I presume it is given that it contains the symbols that _() stuff maps to
diff --git a/libs/gst/check/Makefile.am b/libs/gst/check/Makefile.am
index 9989adb7b3..8d39c95737 100644
--- a/libs/gst/check/Makefile.am
+++ b/libs/gst/check/Makefile.am
@@ -14,6 +14,7 @@ libgstcheck_@GST_MAJORMINOR@_la_SOURCES = \
gstconsistencychecker.c
libgstcheck_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS) \
+ -I$(top_builddir)/libs \
-I$(top_builddir)/libs/gst/check \
-I$(top_builddir)/libs/gst/check/libcheck
libgstcheck_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS) \