From: Ted Hess Date: Tue, 13 Nov 2018 20:40:30 +0000 (-0500) Subject: tools/pkg-config: Handle variable substitution of 'bindir' to redirect to STAGING_DIR/bin X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=042d68a19593ac796098845366a235f5465816da;p=openwrt%2Fstaging%2F981213.git tools/pkg-config: Handle variable substitution of 'bindir' to redirect to STAGING_DIR/bin Signed-off-by: Ted Hess --- diff --git a/tools/pkg-config/files/pkg-config b/tools/pkg-config/files/pkg-config index bf95380e7f..82cc74ffcb 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} --define-variable=bindir=${STAGING_PREFIX}/bin $@