diff options
author | Marvin Schmidt <marv@exherbo.org> | 2016-06-05 10:13:56 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2016-06-05 20:16:51 +0200 |
commit | 64d940b45474c4e98c4ed9bb035248a40145527d (patch) | |
tree | 3fee112bc6473ccb3d18a32eeaef78bbe0548d46 /gtkdoc-fixxref.in | |
parent | 08e723acccdc0a284c2ac386a8b5c6a0948948eb (diff) | |
download | gtk-doc-64d940b45474c4e98c4ed9bb035248a40145527d.tar.gz |
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
https://bugzilla.gnome.org/show_bug.cgi?id=767271
Diffstat (limited to 'gtkdoc-fixxref.in')
-rwxr-xr-x | gtkdoc-fixxref.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtkdoc-fixxref.in b/gtkdoc-fixxref.in index fc4b25c..88d28c2 100755 --- a/gtkdoc-fixxref.in +++ b/gtkdoc-fixxref.in @@ -124,7 +124,7 @@ EOF # We scan the directory containing GLib and any directories in GNOME2_PATH # first, but these will be overriden by any later scans. - $dir = `pkg-config --variable=prefix glib-2.0`; + $dir = `@PKG_CONFIG@ --variable=prefix glib-2.0`; $dir =~ s/\s+$//; $dir = $dir . "/share/gtk-doc/html"; if (-d $dir) { |