summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-02-15 23:16:32 +0200
committerStefan Kost <ensonic@users.sf.net>2010-02-15 23:16:32 +0200
commit086528d3598661aec4013e4970699dbea7c44467 (patch)
tree6dee08f70b35554a01980c0e26226587c61eba4d /configure.ac
parentcfe16b0e7c172bf29ecb6808c4c57527959e3969 (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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index aa074f5f..c0b2e1fc 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)