summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Eisentraut2010-03-17 22:02:44 +0000
committerPeter Eisentraut2010-03-17 22:02:44 +0000
commit7e8a60b7c5ede78db084ce0f2d6a0234040be1eb (patch)
tree35ad586cb5227453370c778fa13303157c4ab052 /configure
parentc92e2702f1b50f8ac7440b79274afdf2f0248816 (diff)
Don't link PL/Python against LOCALMODLIBS
This variable is apparently only for Python internally. In newer releases of Python this variable pulls in more and more libraries that users are less likely to have, leading to potential build failures.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 94c50636ec..7e34c4f7e5 100755
--- a/configure
+++ b/configure
@@ -7033,7 +7033,7 @@ else
python_libspec="-L${python_libdir} -lpython${python_version}"
fi
-python_additional_libs=`${PYTHON} -c "import distutils.sysconfig,string; print(' '.join(filter(None,distutils.sysconfig.get_config_vars('LIBS','LIBC','LIBM','LOCALMODLIBS','BASEMODLIBS'))))"`
+python_additional_libs=`${PYTHON} -c "import distutils.sysconfig,string; print(' '.join(filter(None,distutils.sysconfig.get_config_vars('LIBS','LIBC','LIBM','BASEMODLIBS'))))"`
{ $as_echo "$as_me:$LINENO: result: ${python_libspec} ${python_additional_libs}" >&5
$as_echo "${python_libspec} ${python_additional_libs}" >&6; }