libtool installs a "T" version of shared library, with wrong LIBADD metadata

2008-10-10 Thread Andy Buckley
Hi, I've got a library, libLHAPDF.so, which is accessed by a SWIG Python wrapper, implemented as a libtool library module, _lhapdf.so. In order to work, _lhapdf.so needs to open the main LHAPDF library to get the function definitions, so my Makefile.am for the SWIG wrapper contains the line _lhap

Clearing/resetting g++/ld linker path for each -l

2007-05-18 Thread Andy Buckley
Hi, I'd like to know if it's possible to clear the ld library search path within a single linker call. Specificlly, the problem is that I have two libraries A and B, and there's a version of each in two include paths, say /usr/lib and/usr/local/lib. So we've got /usr/lib/libA.so, / usr/lib/libB.so

Re: Clearing/resetting g++/ld linker path for each -l

2007-05-18 Thread Andy Buckley
On 18 May, 15:11, Paul Pluzhnikov <[EMAIL PROTECTED]> wrote: > Andy Buckley <[EMAIL PROTECTED]> writes: > > I'd like to know if it's possible to clear the ld library search path > > within a single linker call. > > I don't believe so. Also your ques