[BuildTools-tickets] [BuildTools] #90: pkg-config search path setup assumes libdir is prefix/lib

BuildTools coin-trac at coin-or.org
Sat Sep 3 10:10:00 EDT 2011


#90: pkg-config search path setup assumes libdir is prefix/lib
-------------------+--------------------------------------------------------
Reporter:  stefan  |       Owner:  stefan      
    Type:  defect  |      Status:  new         
Priority:  major   |   Component:  build system
 Version:  0.7     |    Keywords:              
-------------------+--------------------------------------------------------
 When creating addlibs files from .pc files, the Makefile's augment
 PKG_CONFIG_SEARCH_PATH by {{{$prefix/lib/pkgconfig}}}, assuming that .pc
 files are installed there. This does not work if a user changes the
 library installation directory via configure's {{{--libdir}}} option.

 An easy workaround for a user is to set a link {{{$prefix/lib}}} ->
 {{{$libdir}}}.

 There may be other places where {{{$prefix/lib == $libdir}}} is assumed.

-- 
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/90>
BuildTools <http://projects.coin-or.org/BuildTools>
Tools for configuring and compiling COIN-OR codes



More information about the BuildTools-tickets mailing list