File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1158,8 +1158,11 @@ frameworkinstallstructure: $(LDLIBRARY)
11581158# Install a number of symlinks to keep software that expects a normal unix
11591159# install (which includes python-config) happy.
11601160frameworkinstallmaclib:
1161+ ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config-$(LDVERSION)/libpython$(LDVERSION).a"
1162+ ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config-$(LDVERSION)/libpython$(LDVERSION).dylib"
11611163 ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config-$(LDVERSION)/libpython$(VERSION).a"
11621164 ln -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$(VERSION)/config-$(LDVERSION)/libpython$(VERSION).dylib"
1165+ ln -fs "../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/libpython$(LDVERSION).dylib"
11631166 ln -fs "../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/libpython$(VERSION).dylib"
11641167
11651168# This installs the IDE, the Launcher and other apps into /Applications
Original file line number Diff line number Diff line change @@ -402,6 +402,9 @@ Tests
402402Build
403403-----
404404
405+ - Issue #14197: For OS X framework builds, ensure links to the shared
406+ library are created with the proper ABI suffix.
407+
405408- Issue #14472: Update .gitignore. Patch by Matej Cepl.
406409
407410- The Windows build now uses OpenSSL 1.0.0j and bzip2 1.0.6.
Original file line number Diff line number Diff line change @@ -52,7 +52,8 @@ for opt in opt_flags:
5252 if opt == '--ldflags' :
5353 if not getvar ('Py_ENABLE_SHARED' ):
5454 libs .insert (0 , '-L' + getvar ('LIBPL' ))
55- libs .extend (getvar ('LINKFORSHARED' ).split ())
55+ if not getvar ('PYTHONFRAMEWORK' ):
56+ libs .extend (getvar ('LINKFORSHARED' ).split ())
5657 print (' ' .join (libs ))
5758
5859 elif opt == '--extension-suffix' :
You can’t perform that action at this time.
0 commit comments