-----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 that should be part of the shared library, but has no business
> in the static library.
> 
> Is there a way to specify additional objects (sources) for the shared
> library that will not be linked into the static library.
> 
> I realize that linking these extra objects into the static library is
> more or less benign, as no one will ever call these functions from the
> static library, but it seems sad to carry the extra baggage in the
> static library.
> 
> Thanks in advance,
> John

I forgot to add that I'm using Libtool from Automake. I guess it would
be rather trivial to do what I want from a Makefile using libtool in my
raw make rules. :)

John
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFIUE+5dcgqmRY/OH8RAhApAJwKDQGDErdvtTgB92TEKW5ljvgjTgCcC/yN
dtLi9s61GejEPCKh955DKzU=
=ZJ+v
-----END PGP SIGNATURE-----


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to