This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients eric.araujo, ned.deily, ronaldoussoren, skip.montanaro
Date 2011-03-16.16:16:05
SpamBayes Score 1.5772517e-10
Marked as misclassified No
Message-id <1300292166.22.0.633342526626.issue11445@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2011-03-16 16:16:06ronaldoussorensetrecipients: + ronaldoussoren, skip.montanaro, ned.deily, eric.araujo
2011-03-16 16:16:06ronaldoussorensetmessageid: <1300292166.22.0.633342526626.issue11445@psf.upfronthosting.co.za>
2011-03-16 16:16:05ronaldoussorenlinkissue11445 messages
2011-03-16 16:16:05ronaldoussorencreate