clean up automake/pkg-config handling, move separate host/package variable exports...
[openwrt/openwrt.git] / tools / pkg-config / files / pkg-config
index a3d73700f9a99b5dac7287c2448cd01f2824667c..8e017fb45b7efa6c3ec9ad1e31375d01d288230c 100755 (executable)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-pkg-config.real $@ --define-variable=prefix=${STAGING_DIR}/usr/ --define-variable=exec_prefix=${STAGING_DIR}/usr/
+pkg-config.real $@ --define-variable=prefix=${STAGING_PREFIX}/ --define-variable=exec_prefix=${STAGING_PREFIX}/