diff --git a/Makefile.pre.in b/Makefile.pre.in index 023e51779b8..82264e5b0c4 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1067,6 +1067,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" # This installs the IDE, the Launcher and other apps into /Applications diff --git a/Misc/NEWS b/Misc/NEWS index 2f22e476a99..9e9430bf1a8 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -516,6 +516,9 @@ Build - Issue 5390: Add uninstall icon independent of whether file extensions are installed. +- Issue #7541: when using ``python-config`` with a framework install the compiler might + use the wrong library. + Documentation ------------