[Libclc-dev] [PATCH] Place pkg-config file in $prefix/share/pkgconfig.

Michał Górny mgorny at gentoo.org
Tue Aug 13 08:45:03 PDT 2013


libclc is ABI-agnostic, and $prefix/lib/pkgconfig causes issues
on multilib setups. Using $prefix/share/pkgconfig allows us to reuse
a single libclc build across all system ABIs.
---
 configure.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.py b/configure.py
index b385fb8..1a98647 100755
--- a/configure.py
+++ b/configure.py
@@ -49,7 +49,7 @@ if not includedir:
 
 pkgconfigdir = options.pkgconfigdir
 if not pkgconfigdir:
-  pkgconfigdir = os.path.join(prefix, 'lib/pkgconfig')
+  pkgconfigdir = os.path.join(prefix, 'share/pkgconfig')
 
 def llvm_config(args):
   try:
-- 
1.8.3.2





More information about the Libclc-dev mailing list