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

Tom Stellard tom at stellard.net
Wed Aug 14 15:23:24 PDT 2013


On Tue, Aug 13, 2013 at 05:45:03PM +0200, Michał Górny wrote:
> 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.

This looks OK to me, but I think we will need to tell users to adjust
their PKG_CONFIG_PATH if they have installed libclc to a non-standard
prefix.

-Tom

> ---
>  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
> 
> 
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
> http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev




More information about the Libclc-dev mailing list