On 2 April 2013 12:27, Gordon Sim <[email protected]> wrote: > On 04/02/2013 10:58 AM, Rob Godfrey wrote: > >> $ cat /usr/lib/x86_64-linux-gnu/**pkgconfig/nspr.pc >> prefix=/usr >> exec_prefix=${prefix} >> libdir=/usr/lib/x86_64-linux-**gnu >> includedir=${prefix}/include/**nspr >> >> Name: NSPR >> Description: The Netscape Portable Runtime >> Version: 4.9.5 >> Libs: -L/usr/lib/x86_64-linux-gnu -lplds4 -lplc4 -lnspr4 >> Cflags: -I${prefix}/include/nspr >> > > The only thing I can think of is that pkg-config is erroneously removing > the lib dir because it thinks it is on the default linker path. > > If you set the PKG_CONFIG_ALLOW_SYSTEM_LIBS variable, what does > `pkg-config --libs nspr` give then? > > $ export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 $ pkg-config --libs nspr
-- Rob > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > [email protected].**org<[email protected]> > For additional commands, e-mail: [email protected] > >
