]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-43103: Fix build failure with macOS framework builds. (GH-24676)
authorNed Deily <nad@python.org>
Mon, 1 Mar 2021 07:04:02 +0000 (02:04 -0500)
committerGitHub <noreply@github.com>
Mon, 1 Mar 2021 07:04:02 +0000 (02:04 -0500)
configure
configure.ac

index 2d5a61e71eb79466ac894e6b9820fb8d73799f01..acb400f508983a88838e49c5544b2a6053a2975a 100755 (executable)
--- 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"
index e71d74c872b70d4f7fe591ad7e9a8b4ae9ecf1b1..9802c65ce179c39a7e99296a941cb228996f64c2 100644 (file)
@@ -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"