[Distutils] static linking in distutils/setuptools?
David Arnold
david at mantara.com
Fri Jan 27 09:42:02 CET 2006
-->"Robert" == Robert Kern <robert.kern at gmail.com> writes:
Robert> Not really, no. In many cases (e.g., GNU ld), there's simply
Robert> no way to tell the linker that you prefer static libraries to
Robert> shared libraries when you are building a shared library like a
Robert> Python extension. You simply have to make sure that the static
Robert> libraries are found first.
you can pass the linker a direct path to the archive, rather than using
-L/-l. this will ensure static linkage.
(not sure if that's helpful in this context though)
d
More information about the Distutils-SIG
mailing list