On Wed, Jan 6, 2010 at 17:21, "Martin v. Löwis" <mar...@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
> BLDLIBRARY.

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...

--
Nick
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to