Ronald Oussoren <ronaldousso...@mac.com> added the comment:

It is --enable-shared that is the culprit, but in the negated form...

The OSX linker will search the entire link path for a shared library before 
trying to look for a static library. As a workaround you could use 
'--enable-shared', and that should ensure that you get linked to the python 
version you're actually building as it is earlier on the path.

A proper fix is to add "-Wl,-search_paths_first" to the linker flags on OSX, 
with that flag the linker behaves just like the linker on any other unix 
platform.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11445>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to