Redefine prefix and exec_prefix for pkg config files instead of libdir and
[openwrt/svn-archive/archive.git] / tools / pkg-config / files / pkg-config
index 31cfd0d83dc94892a85b4f18c9bb2004296d64b0..a3d73700f9a99b5dac7287c2448cd01f2824667c 100755 (executable)
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-pkg-config.real $@ --define-variable=libdir=${STAGING_DIR}/usr/lib --define-variable=includedir=${STAGING_DIR}/usr/include
+pkg-config.real $@ --define-variable=prefix=${STAGING_DIR}/usr/ --define-variable=exec_prefix=${STAGING_DIR}/usr/