GNOME Bugzilla – Bug 767271
Fix hardcoded `pkg-config` binary usage
Last modified: 2016-06-05 18:18:09 UTC
Created attachment 329160 [details] [review] use PKG_CONFIG variable instead of hardcoding the pkg-config binary gtkdoc-{depscan,fixxref,rebase} hardcode the use of `pkg-config` which is not necessarily the correct pkg-config binary for the targetted host architecture. PKG_PROG_PKG_CONFIG already tries to find a host-prefixed version of pkg-config and sets the PKG_CONFIG variable accordingly, so we can just use that to get the right pkg-config binary
The following fixes have been pushed: c7e7424 depscan/fixxref/rebase: Don't hardcode pkg-config binary 08e723a rebase: add tracing support 5ee4e11 scan: only copy new sections file if it changed
The following fix has been pushed: 64d940b depscan/fixxref/rebase: Don't hardcode pkg-config binary
Created attachment 329163 [details] [review] depscan/fixxref/rebase: Don't hardcode pkg-config binary `pkg-config` is not necessarily the correct pkg-config binary, especially in cross-compilation scenarios. Use the pkg-config binary that PKG_PROG_PKG_CONFIG (which looks for host-prefixed pkg-config) found and defined in PKG_CONFIG
Thanks!