mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
configure: fix up GST_CXXFLAGS properly
We don't want C specific flags in GST_CXXFLAGS, so base it on the GST_CFLAGS that only contains the pkg-config CFLAGS but none of the GST_OPTION_CFLAGS. Also, we only need the local includes once.
This commit is contained in:
parent
f295a84433
commit
bde03ffc01
1 changed files with 1 additions and 1 deletions
|
@ -431,8 +431,8 @@ dnl FIXME: do we want to rename to GST_ALL_* ?
|
||||||
dnl prefer internal headers to already installed ones
|
dnl prefer internal headers to already installed ones
|
||||||
dnl also add builddir include for enumtypes and marshal
|
dnl also add builddir include for enumtypes and marshal
|
||||||
dnl add GST_OPTION_CFLAGS, but overridable
|
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_CFLAGS \$(GST_OPTION_CXXFLAGS)"
|
GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS \$(GST_OPTION_CXXFLAGS)"
|
||||||
|
GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS \$(GST_OPTION_CFLAGS)"
|
||||||
AC_SUBST(GST_CFLAGS)
|
AC_SUBST(GST_CFLAGS)
|
||||||
AC_SUBST(GST_CXXFLAGS)
|
AC_SUBST(GST_CXXFLAGS)
|
||||||
AC_SUBST(GST_LIBS)
|
AC_SUBST(GST_LIBS)
|
||||||
|
|
Loading…
Reference in a new issue