aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Hess <thess@kitschensync.net>2018-11-13 15:40:30 -0500
committerTed Hess <thess@kitschensync.net>2018-11-13 15:40:30 -0500
commit042d68a19593ac796098845366a235f5465816da (patch)
tree2f94d7115c4af674deb0d4c4c80348c2a90fb5e6
parentd965f41ac85f8ef2bcd8e357d9288ae5015b992f (diff)
downloadupstream-042d68a19593ac796098845366a235f5465816da.tar.gz
upstream-042d68a19593ac796098845366a235f5465816da.tar.bz2
upstream-042d68a19593ac796098845366a235f5465816da.zip
tools/pkg-config: Handle variable substitution of 'bindir' to redirect to STAGING_DIR/bin
Signed-off-by: Ted Hess <thess@kitschensync.net>
-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 $@