summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Hess2018-11-13 20:40:30 +0000
committerJo-Philipp Wich2019-04-24 05:22:25 +0000
commit24aefaec62f87f7d958376c8a0152adb649f4419 (patch)
treec6c60d97ffabd34bff50a80498989ff4533b5d36
parentaaa34526c4a71a4f2a63142db1a207f493c4be8f (diff)
downloadopenwrt-24aefaec62f87f7d958376c8a0152adb649f4419.tar.gz
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)
-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 $@