From 63364fbda19fed9ea552c325d5d6d2bde8765150 Mon Sep 17 00:00:00 2001 From: Ronald Oussoren Date: Thu, 24 Dec 2009 14:19:38 +0000 Subject: Merged revisions 77033 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77033 | ronald.oussoren | 2009-12-24 15:17:19 +0100 (Thu, 24 Dec 2009) | 2 lines Fix for issue #7541: python-config --ldflags doesn't pick up libpython2.5.a ........ --- Makefile.pre.in | 1 + Misc/NEWS | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/Makefile.pre.in b/Makefile.pre.in index b1c1735..5d70f10 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1051,6 +1051,7 @@ frameworkinstallstructure: $(LDLIBRARY) # install (which includes python-config) happy. frameworkinstallmaclib: ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config/libpython$(VERSION).a" + ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config/libpython$(VERSION).dylib" cd Mac && $(MAKE) installmacsubtree DESTDIR="$(DESTDIR)" # This installs the IDE, the Launcher and other apps into /Applications diff --git a/Misc/NEWS b/Misc/NEWS index 5c18341..adc053b 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -128,6 +128,10 @@ Build binary distribution on OSX 10.6 even when the user does not have the 10.4u SDK installed. +- Issue #7541: when using ``python-config`` with a framework install the compiler might + use the wrong library. + + Tests ----- -- cgit v0.12