From ebe095420a48f4e7b1fc707e5755ed0156c92d49 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Mon, 14 Sep 2009 12:47:26 -0700 Subject: [PATCH] Fix out-of-tree build --- configure.ac | 2 +- libs/gst/check/Makefile.am | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) \