summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@gnome.org>2015-09-30 08:36:15 +0200
committerTim-Philipp Müller <tim@centricular.com>2015-09-30 10:02:20 +0100
commita81ee2c60b4de800dd8f2f8d278cc0a44e2917ff (patch)
tree36563c04aa1df35fd37aa9e5ce7bbfdc42b4d524
parenta5cff398c9cacb88f76546863c3161708165f627 (diff)
downloadgstreamer-plugins-bad-a81ee2c60b4de800dd8f2f8d278cc0a44e2917ff.tar.gz
gl: Pass GL_CFLAGS to g-ir-scanner
This unbreaks building when some headers are under a non-standard path. e.g. /usr/X11R6/include as on OpenBSD. https://bugzilla.gnome.org/show_bug.cgi?id=755850
-rw-r--r--gst-libs/gst/gl/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am
index 36f3bf79d..f96835718 100644
--- a/gst-libs/gst/gl/Makefile.am
+++ b/gst-libs/gst/gl/Makefile.am
@@ -143,6 +143,7 @@ GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@
-I$(top_srcdir)/gst-libs \
-I$(top_builddir)/gst-libs \
$(GST_PLUGINS_BASE_CFLAGS) \
+ $(GL_CFLAGS) \
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \
--add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \
--library=libgstgl-@GST_API_VERSION@.la \