diff options
author | Stefan Kost <ensonic@users.sf.net> | 2010-02-15 23:13:46 +0200 |
---|---|---|
committer | Stefan Kost <ensonic@users.sf.net> | 2010-02-15 23:13:46 +0200 |
commit | 8866c7ca8d0e5456ac5aed1eba005af2bc0708de (patch) | |
tree | 6419c278785313a77a3065adb1f43bbef23f7bdc | |
parent | 9d40d60960d6abc2675d41c463d4d81e4b9be319 (diff) |
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.
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5ba0a8236..db9e7a5aa 100644 --- a/configure.ac +++ b/configure.ac @@ -1029,7 +1029,7 @@ dnl prefer internal headers to already installed ones dnl also add builddir include for enumtypes and marshal dnl add ERROR_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_FLAGS \$(GST_OPTION_CXXFLAGS)" AC_SUBST(GST_CFLAGS) AC_SUBST(GST_CXXFLAGS) AC_SUBST(GST_LIBS) |