automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static link against shared objects


From: Ralf Wildenhues
Subject: Re: Static link against shared objects
Date: Thu, 22 Nov 2007 07:56:04 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

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

[Prev in Thread] Current Thread [Next in Thread]