From b6ebe5af74a965d703eb8ee66a07c97b0bbe6e58 Mon Sep 17 00:00:00 2001 From: Yee Cheng Chin Date: Wed, 5 Apr 2023 18:24:50 +0100 Subject: patch 9.0.1441: MacOS: Python 3 using framework do not set dll name properly Problem: MacOS: Python 3 using framework do not set dll name properly. Solution: Use the framework prefix. (Yee Cheng Chin, closes #12189) --- src/configure.ac | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/configure.ac') diff --git a/src/configure.ac b/src/configure.ac index 94e186382d..ec4141dc87 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -1584,6 +1584,7 @@ __: @echo "python3_SYSLIBS='$(SYSLIBS)'" @echo "python3_DLLLIBRARY='$(DLLLIBRARY)'" @echo "python3_INSTSONAME='$(INSTSONAME)'" + @echo "python3_PYTHONFRAMEWORKPREFIX='$(PYTHONFRAMEWORKPREFIX)'" eof dnl -- delete the lines from make about Entering/Leaving directory eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`" @@ -1598,6 +1599,8 @@ eof [ if test "X$python3_DLLLIBRARY" != "X"; then vi_cv_dll_name_python3="$python3_DLLLIBRARY" + elif test "X$python3_PYTHONFRAMEWORKPREFIX" != "X"; then + vi_cv_dll_name_python3="${python3_PYTHONFRAMEWORKPREFIX}/${python3_INSTSONAME}" else vi_cv_dll_name_python3="$python3_INSTSONAME" fi -- cgit v1.2.3