aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2008-10-10 16:07:02 +0000
committerLars-Peter Clausen <lars@metafoo.de>2008-10-10 16:07:02 +0000
commit1a5af54e9047e2f063f67f7c0fd8dbd174a99f3d (patch)
tree7eda881a200d97130064bbf40cf7d6f889257a81 /tools
parentbda7628f9405e1509576c5f06d63de272aab23fe (diff)
downloadupstream-1a5af54e9047e2f063f67f7c0fd8dbd174a99f3d.tar.gz
upstream-1a5af54e9047e2f063f67f7c0fd8dbd174a99f3d.tar.bz2
upstream-1a5af54e9047e2f063f67f7c0fd8dbd174a99f3d.zip
Redefine prefix and exec_prefix for pkg config files instead of libdir and
includedir. Some packages have their includes in subdirs of include and packages trying to include their headers using pkg-config would fail. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12946 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools')
-rwxr-xr-xtools/pkg-config/files/pkg-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pkg-config/files/pkg-config b/tools/pkg-config/files/pkg-config
index 31cfd0d83d..a3d73700f9 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=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/