Hello Julien,

* Julien TIERNY (LIFL, TELECOM Lille 1) wrote on Wed, Nov 21, 2007 at 
04:10:11PM CET:
> I use automake for the packaging of a software I wrote that uses third party 
> shared libraries (at this point, everything's ok).
> Is it possible to force automake generate Makefiles such that the final 
> binary 
> program is statically linked to the third party libraries? (I've got *.so and 
> *.a versions of the third party libraries).

If those installed libraries are libtool libraries (a *.la file exists),
and your package uses libtool >= 1.5.24, then you can use the
-static-libtool-libs flag.

If either condition is not given, then please specify further.  ;-)

Cheers,
Ralf


Reply via email to