GNOME Bugzilla – Bug 761460
player: Makefile does not use configured PKG_CONFIG_PATH when performing introspection scan
Last modified: 2016-02-02 17:56:11 UTC
Created attachment 320268 [details] [review] Patch to use the pkg-config path given by the --with-pkg-config-path= configure script option When I build gstreamer and plugins, I install the binaries into a separate directory tree. This means that when compiling plugins I need to use the configure "--with-pkg-config-path=" option to point to where the pkg-config files can be found in the separate tree. When I try to compile, the build fails when the introspection scanner is invoked because it cannot find the pkg-config files. The following patch sets the PKG_CONFIG_PATH environment variable, to the value given by the configure "--with-pkg-config-path=" option, when invoking the introspection scanner. This allows the build to succeed.
Nice catch, thanks for the patch! commit 1328a44a0190c9863c36c0b83052d8fc76886ebf Author: David Waring <david.waring@rd.bbc.co.uk> Date: Tue Feb 2 14:46:30 2016 +0000 libs: player: use configured GST_PKG_CONFIG_PATH when invoking the introspection scanner https://bugzilla.gnome.org/show_bug.cgi?id=761460