From 086528d3598661aec4013e4970699dbea7c44467 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Mon, 15 Feb 2010 23:16:32 +0200 Subject: [PATCH] configure: base GST_CXXFLAGS on --cflags from pkg-config pkg-config sets GST_CFLAGS and GST_LIBS. We need to use CFLAGS as a starting point for for both C and CXX settings. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index aa074f5..c0b2e1f 100644 --- a/configure.ac +++ b/configure.ac @@ -432,7 +432,7 @@ dnl prefer internal headers to already installed ones dnl also add builddir include for enumtypes and marshal dnl add GST_OPTION_CFLAGS, but overridable GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS \$(GST_OPTION_CFLAGS)" -GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CXXFLAGS \$(GST_OPTION_CXXFLAGS)" +GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS \$(GST_OPTION_CXXFLAGS)" AC_SUBST(GST_CFLAGS) AC_SUBST(GST_CXXFLAGS) AC_SUBST(GST_LIBS) -- 2.7.4