summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-05-25 10:28:43 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-08-13 16:44:15 +0100
commit65ca3b21265c710fee569c796697a04f8d8a8ed3 (patch)
tree1e2dd386d9b45279008b7c0aac54376c8603266f
parentccb1090f44160520606bfc463cd0782a6a2b16f9 (diff)
g-i: pass compiler env to g-ir-scanner
It's what introspection.mak does as well. Should fix spurious build failures on gnome-continuous (caused by g-ir-scanner getting compiler details via python which is broken in some environments so passing the compiler details bypasses that).
-rw-r--r--gst/rtsp-server/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rtsp-server/Makefile.am b/gst/rtsp-server/Makefile.am
index 4fcd366929..7682e64bfa 100644
--- a/gst/rtsp-server/Makefile.am
+++ b/gst/rtsp-server/Makefile.am
@@ -71,6 +71,7 @@ gir_sources=$(patsubst %,$(srcdir)/%, $(libgstrtspserver_@GST_API_VERSION@_la_SO
GstRtspServer-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtspserver-@GST_API_VERSION@.la
$(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
+ CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)" PKG_CONFIG="$(PKG_CONFIG)" DLLTOOL="$(DLLTOOL)" \
$(INTROSPECTION_SCANNER) -v --namespace GstRtspServer \
--nsversion=@GST_API_VERSION@ \
--strip-prefix=Gst \