On Thu, Dec 05, 2002 at 10:43:28AM +0100, Erik Hofman wrote: > Do you use libtool to generate shared object libraries, or juts static > libraries? People have pointed out that using shared objects in C++ > doesn't work all that great, especially in a development environment > (like FlightGear). > > If this patch generates static libraries I don't see a problem. > It might even be used to generate one statically linkable libsimgear > file instead of 17 different libraries. But that is open for discussion. With libtool all you have to do to have it generate only static libraries is to specify
libblah_blah_la_LDFLAGS = -static
in the Makefile.am. This is what the patch does... You then want to replace all the
link-time references (blah_LDADD = ../libblah/blah.a) with (blah_LDADD =
../libblah/blah.la).
--
Bryon Roche
Professional {Developer,Guru,Mad Scientist}
<[EMAIL PROTECTED]>
PGP Key Fingerprint: FE0D EC23 6464 726A CD54 48D3 04AD 86FE 6878 ABD5
Fortuna est caeca
msg10194/pgp00000.pgp
Description: PGP signature
