From 0e436f1370bb380c08c22daeae7490c2153e44dc Mon Sep 17 00:00:00 2001 From: Andrzej Jarzynka Date: Thu, 5 Mar 2020 15:29:54 +0100 Subject: [PATCH] Fix for incorrect configure python library variable --- configure | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/configure b/configure index c52a09be..229c2ae5 100755 --- a/configure +++ b/configure @@ -3232,8 +3232,21 @@ if test "${PYTHONFRAMEWORKDIR}" = "no-framework"; then standard_lib=1) +"/config")'` LDFLAGS="${LDFLAGS1} ${LDFLAGS2}" - LDLIBS1=`${PYTHON_BIN} -c 'import distutils.sysconfig;\ - print(distutils.sysconfig.get_config_var("LDLIBRARY"))'` + PYTHON_CODE=$(cat <