pkg-config: fix prefix
authorFelix Fietkau <nbd@openwrt.org>
Sun, 24 Jul 2011 09:02:49 +0000 (09:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 24 Jul 2011 09:02:49 +0000 (09:02 +0000)
commit48bf10fba22f7a83c85a65b587caeb0473ef047a
tree0de32acde6518656ab3f4b282eae15f3ac4ea0e0
parent6d3bddb0563baaedeb1a9b4c70d0231fbe6edc35
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
tools/pkg-config/files/pkg-config