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)
commit2d3f24593a070b88168b7cf92da626d1c6303780
tree9aab6bfc59a5a294b909faf4fbbffb40c3aeec23
parent33748e56f8f3c97f0dbd8bcdf01c7d37bca4bf4d
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