At 05:05 PM 1/26/2006 -0500, Stefan Seefeld wrote: >I believe this is wrong. The (GNU ld) man pages mention '-Bdynamic' and >'-Bstatic' >as a means to instruct the linker to link to a particular library >dynamically or >statically. (To only link statically to libbar.a you could write e.g. > >... -lfoo -Bstatic -lbar -Bdynamic -lbaz > >etc.) > >However, the way distutils is written makes it practically impossible to >control >such behavior without completely rewriting the whole 'build_ext' command. >Hopefully setuptools can manage this better.
Probably not, as I'm not rewriting build_ext, just wrapping it. You might try kludging your library names to be 'foo -Bstatic', 'bar -Bdynamic', etc., if you're on the right platform/compiler. _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
