Re: different object sets in shared and static libs

2008-06-11 Thread John Calcote
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian, Brian Dessent wrote: > John Calcote wrote: > >> Is there a way to specify additional objects (sources) for the shared >> library that will not be linked into the static library. > > You could always wrap the entire contents of the file with "

Re: different object sets in shared and static libs

2008-06-11 Thread Brian Dessent
John Calcote wrote: > Is there a way to specify additional objects (sources) for the shared > library that will not be linked into the static library. You could always wrap the entire contents of the file with "#ifdef PIC". The objects would still be in the static lib but they would be essential

Re: different object sets in shared and static libs

2008-06-11 Thread John Calcote
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John Calcote wrote: > I've got a project where I'm building (by default) both shared and > static libraries using libtool. However, the shared library also exports > a java native interface, so I have a short list of .cpp files containing > JNI code th

different object sets in shared and static libs

2008-06-11 Thread John Calcote
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've got a project where I'm building (by default) both shared and static libraries using libtool. However, the shared library also exports a java native interface, so I have a short list of .cpp files containing JNI code that should be part of the sha