aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTed Hess <thess@kitschensync.net>2018-11-13 15:40:30 -0500
committerJo-Philipp Wich <jo@mein.io>2019-04-24 07:22:25 +0200
commit24aefaec62f87f7d958376c8a0152adb649f4419 (patch)
treec6c60d97ffabd34bff50a80498989ff4533b5d36 /tools
parentaaa34526c4a71a4f2a63142db1a207f493c4be8f (diff)
downloadupstream-24aefaec62f87f7d958376c8a0152adb649f4419.tar.gz
upstream-24aefaec62f87f7d958376c8a0152adb649f4419.tar.bz2
upstream-24aefaec62f87f7d958376c8a0152adb649f4419.zip
tools/pkg-config: Handle variable substitution of 'bindir' to redirect to STAGING_DIR/bin
Signed-off-by: Ted Hess <thess@kitschensync.net> (cherry picked from commit 042d68a19593ac796098845366a235f5465816da)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pkg-config/files/pkg-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pkg-config/files/pkg-config b/tools/pkg-config/files/pkg-config
index bf95380e7f..82cc74ffcb 100755
--- a/tools/pkg-config/files/pkg-config
+++ b/tools/pkg-config/files/pkg-config
@@ -1,3 +1,3 @@
#!/bin/sh
-pkg-config.real --define-variable=prefix=${STAGING_PREFIX} --define-variable=exec_prefix=${STAGING_PREFIX} $@
+pkg-config.real --define-variable=prefix=${STAGING_PREFIX} --define-variable=exec_prefix=${STAGING_PREFIX} --define-variable=bindir=${STAGING_PREFIX}/bin $@