Place pkg-config file in $prefix/share/pkgconfig.

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.

Patch by: Michał Górny

llvm-svn: 190107
This commit is contained in:
Tom Stellard 2013-09-05 23:27:58 +00:00
parent c24879e2de
commit 93d674f7b3
1 changed files with 1 additions and 1 deletions

View File

@ -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: