[Python-checkins] bpo-43103: Fix build failure with macOS framework builds. (GH-24676)

ned-deily webhook-mailer at python.org
Mon Mar 1 02:04:13 EST 2021


https://github.com/python/cpython/commit/0608425944932f46b544afea04ae6d301a76f5f2
commit: 0608425944932f46b544afea04ae6d301a76f5f2
branch: master
author: Ned Deily <nad at python.org>
committer: ned-deily <nad at python.org>
date: 2021-03-01T02:04:02-05:00
summary:

bpo-43103: Fix build failure with macOS framework builds. (GH-24676)

files:
M configure
M configure.ac

diff --git a/configure b/configure
index 2d5a61e71eb79..acb400f508983 100755
--- a/configure
+++ b/configure
@@ -17810,7 +17810,7 @@ $as_echo "yes" >&6; }
 fi
 
 LIBRARY_DEPS='$(PY3LIBRARY) $(EXPORTSYMS)'
-if test "$PY_ENABLE_SHARED" = 1; then
+if test "$PY_ENABLE_SHARED" = 1 || test "$enable_framework" ; then
     LIBRARY_DEPS="\$(LDLIBRARY) $LIBRARY_DEPS"
     if test "$STATIC_LIBPYTHON" = 1; then
         LIBRARY_DEPS="\$(LIBRARY) $LIBRARY_DEPS"
diff --git a/configure.ac b/configure.ac
index e71d74c872b70..9802c65ce179c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -5903,7 +5903,7 @@ else
 fi],
 [AC_MSG_RESULT(yes)])
 LIBRARY_DEPS='$(PY3LIBRARY) $(EXPORTSYMS)'
-if test "$PY_ENABLE_SHARED" = 1; then
+if test "$PY_ENABLE_SHARED" = 1 || test "$enable_framework" ; then
     LIBRARY_DEPS="\$(LDLIBRARY) $LIBRARY_DEPS"
     if test "$STATIC_LIBPYTHON" = 1; then
         LIBRARY_DEPS="\$(LIBRARY) $LIBRARY_DEPS"



More information about the Python-checkins mailing list