From 48bf10fba22f7a83c85a65b587caeb0473ef047a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 24 Jul 2011 09:02:49 +0000 Subject: [PATCH] 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} -- 2.30.2