From 71c8fa813537012ec912415f3a1c52b27428ae86 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Fri, 10 Oct 2008 16:07:02 +0000 Subject: [PATCH 1/1] 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 --- tools/pkg-config/files/pkg-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/ -- 2.30.2