tools/pkg-config: Handle variable substitution of 'bindir' to redirect to STAGING_DIR/bin
authorTed Hess <thess@kitschensync.net>
Tue, 13 Nov 2018 20:40:30 +0000 (15:40 -0500)
committerTed Hess <thess@kitschensync.net>
Tue, 13 Nov 2018 20:40:30 +0000 (15:40 -0500)
Signed-off-by: Ted Hess <thess@kitschensync.net>
tools/pkg-config/files/pkg-config

index bf95380e7fe81a946684a70d42744bf005b7c7ff..82cc74ffcba353c6af653b13f2a96678d7106dbc 100755 (executable)
@@ -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 $@