Redefine prefix and exec_prefix for pkg config files instead of libdir and
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 10 Oct 2008 16:07:02 +0000 (16:07 +0000)
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 10 Oct 2008 16:07:02 +0000 (16:07 +0000)
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

tools/pkg-config/files/pkg-config

index 31cfd0d..a3d7370 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/
This page took 0.023905 seconds and 4 git commands to generate.