aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pkg-config/files
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
commit71c8fa813537012ec912415f3a1c52b27428ae86 (patch)
treef445b84b8cd815605b7dfd822f68fa536a6fb53b /tools/pkg-config/files
parent06c86e853805658c2ff94561d59b8c35c5f6d169 (diff)
downloadupstream-71c8fa813537012ec912415f3a1c52b27428ae86.tar.gz
upstream-71c8fa813537012ec912415f3a1c52b27428ae86.tar.bz2
upstream-71c8fa813537012ec912415f3a1c52b27428ae86.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.
SVN-Revision: 12946
Diffstat (limited to 'tools/pkg-config/files')
-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/