From: Ronald Oussoren Date: Thu, 24 Dec 2009 14:17:19 +0000 (+0000) Subject: Fix for issue #7541: python-config --ldflags doesn't pick up libpython2.5.a X-Git-Tag: v2.7a2~115 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b5afe548d4d23d6cff7ab2be259e41cd6017d3c5;p=thirdparty%2FPython%2Fcpython.git Fix for issue #7541: python-config --ldflags doesn't pick up libpython2.5.a --- diff --git a/Makefile.pre.in b/Makefile.pre.in index f367a9bca912..c10399baeb48 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1072,6 +1072,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" ln -fs "../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/libpython$(VERSION).dylib" cd Mac && $(MAKE) installmacsubtree DESTDIR="$(DESTDIR)" diff --git a/Misc/NEWS b/Misc/NEWS index d734269a8830..130029c57c8c 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -64,6 +64,9 @@ Build - Switch to OpenSSL 0.9.8l on Windows. +- Issue #7541: when using ``python-config`` with a framework install the compiler might + use the wrong library. + Tests -----