[Python-Dev] --enabled-shared broken on freebsd5?

Nicholas Bastin nick.bastin at gmail.com
Thu Jan 7 01:08:13 CET 2010

On Wed, Jan 6, 2010 at 17:21, "Martin v. Löwis" <martin at v.loewis.de> wrote:
>> b) Does this fix seem like the sensible thing to do?
> No. Linking in setup.py should use the same options as if the module
> was built as *shared* through Modules/Setup, which, IIUC, should use

Thanks for that pointer, that makes much more sense.  Indeed,
BLDLIBRARY on FreeBSD* is set to '-L. -lpython$(VERSION)' if you set
--enable-shared, but somehow that piece of information doesn't
propagate into the module build.  More investigation to be done...


More information about the Python-Dev mailing list