Ronald Oussoren <ronaldousso...@mac.com> added the comment: The attached patch fixes the issue by moveing LDFLAGS after BLDLIBRARY in the linking step.
I'm not committing this yet though as this will affect all platforms that use Makefiles to build, and I'm not sure if this change save for all compilers we effectively support. Fixing this completely for OSX will require another change as well: we'd have to add "-Wl,-search_paths_first" to ensure that the build will pick up the first libpython on the search path, otherwise we'd still have a problem if you try to build a staticly linked binary (as this would still cause the linker to find macports if the additional flag isn't used). ---------- keywords: +needs review, patch stage: needs patch -> patch review Added file: http://bugs.python.org/file21243/issue-11445.txt _______________________________________ 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