aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pkg-config
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
commit090a5384dfa79a2532aa94114f018e32a568de3c (patch)
tree9aab6bfc59a5a294b909faf4fbbffb40c3aeec23 /tools/pkg-config
parentf3c5779080202d51dc310201253eb20149c50c83 (diff)
downloadmaster-187ad058-090a5384dfa79a2532aa94114f018e32a568de3c.tar.gz
master-187ad058-090a5384dfa79a2532aa94114f018e32a568de3c.tar.bz2
master-187ad058-090a5384dfa79a2532aa94114f018e32a568de3c.zip
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 > git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27744 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/pkg-config')
-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 8e017fb45b..e58b13216d 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}