diff --git a/Makefile.pre.in b/Makefile.pre.in index f367a9bca91..c10399baeb4 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 d734269a883..130029c57c8 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 -----