Răsfoiți Sursa

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
Lars-Peter Clausen 17 ani în urmă
părinte
comite
71c8fa8135
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      tools/pkg-config/files/pkg-config

+ 1 - 1
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/