[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2014-08-03 Thread koobs
Changes by koobs koobs.free...@gmail.com: -- nosy: +koobs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11445 ___ ___ Python-bugs-list mailing

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2013-07-06 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: Removed file: http://bugs.python.org/file21243/issue-11445.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11445 ___

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2013-07-06 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've attached an updated patch (against the 2.7 branch, the same idea should work for 3.3 and default). This does two things: 1) Explicity add '-Wl,-search_paths_first' to LDFLAGS on Mac OS X. This ensures that the linker behaves like other platforms:

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2013-07-06 Thread Ed Campbell
Changes by Ed Campbell drescampb...@gmail.com: -- nosy: +esc24 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11445 ___ ___ Python-bugs-list

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2012-07-13 Thread Eduardo Cereto Carvalho
Changes by Eduardo Cereto Carvalho eduardocer...@gmail.com: -- nosy: +Eduardo.Cereto.Carvalho ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11445 ___

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2012-06-11 Thread Samuel John
Changes by Samuel John pyt...@samueljohn.de: -- nosy: +samueljohn ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11445 ___ ___ Python-bugs-list

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-10-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: 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. I can test with GCC on Debian (linux kernel); I don’t know if it

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-03-19 Thread Skip Montanaro
Changes by Skip Montanaro s...@pobox.com: -- nosy: -skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11445 ___ ___ Python-bugs-list

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-03-16 Thread Ronald Oussoren
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

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-03-09 Thread Ronald Oussoren
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

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-03-09 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I see the problem now. Using a --enable-shared configure similar to Skip's, the gcc step that builds python.exe is: gcc -L/opt/local/lib -u _PyMac_Error -o python.exe \ Modules/python.o \ -L. -lpython2.7 -ldl -framework CoreFoundation

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2011-03-08 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- components: +Macintosh nosy: +ronaldoussoren stage: - needs patch title: Something changed w.r.t. prefix/pythonN.M/site-packages in the Hg switch - python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library