summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-24 09:02:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-24 09:02:49 +0000
commit48bf10fba22f7a83c85a65b587caeb0473ef047a (patch)
tree0de32acde6518656ab3f4b282eae15f3ac4ea0e0 /tools
parent6d3bddb0563baaedeb1a9b4c70d0231fbe6edc35 (diff)
downloadmtk-20170518-48bf10fba22f7a83c85a65b587caeb0473ef047a.zip
mtk-20170518-48bf10fba22f7a83c85a65b587caeb0473ef047a.tar.gz
mtk-20170518-48bf10fba22f7a83c85a65b587caeb0473ef047a.tar.bz2
pkg-config: fix prefix
Now: % PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test//include After applying the patch: % PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test/include I guess that there sould not be '//' but only one '/'. Signed-off-by: Luka Perkov < openwrt ->-to->- lukaperkov.net > SVN-Revision: 27744
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 8e017fb..e58b132 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}