:dll and linking to other libraries

Magnus Therning <[email protected]> Sun, 25 Jul 2004 15:36:19 +0200
Newsgroups gmane.comp.tools.aap.user
Message-ID <[email protected]>
I have the following rule:

 :dll sqlite : $sqlite_source
 :attr { add_LIBS = -ltcl -lm -ldl } $(DLLPRE)sqlite$(DLLSUF)

But the resulting shared lib isn't linked to any of the libraries:

 $ ldd libsqlite.so
         statically linked

Why is it like this?

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
[email protected]
http://magnus.therning.org/

In any business model you need someone to sue. That's the American way.
     -- Bill Weinberg, MontaVista
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBA7dTiMWTaatN+6QRAgQGAJ9DSui+0NsyjKlD3yE+KO9IZBvT6gCg00yP
agf6Er1PRRu/xJmonnFfSeo=
=3wQw
-----END PGP SIGNATURE-----