gobject-introspection: use PKG_CONFIG_PATH specified at configure time
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 8 Jan 2011 01:58:44 +0000 (01:58 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 8 Jan 2011 02:00:12 +0000 (02:00 +0000)
Use PKG_CONFIG_PATH specified at configure time (if any) as well
for the g-ir-compiler, rather than just assuming the env var has
been set.

gst/rtsp-server/Makefile.am

index 02a0bd7..ac5624a 100644 (file)
@@ -83,7 +83,8 @@ typelibsdir = $(libdir)/girepository-1.0/
 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
 
 %.typelib: %.gir $(INTROSPECTION_COMPILER)
-       $(AM_V_GEN)$(INTROSPECTION_COMPILER) \
+       $(AM_V_GEN)PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \
+       $(INTROSPECTION_COMPILER) \
        --includedir=$(srcdir) \
        --includedir=$(builddir) \
        --includedir=`$(PKG_CONFIG) --variable=girdir gstreamer-0.10` \