diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2010-03-17 22:02:44 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2010-03-17 22:02:44 +0000 |
commit | 7e8a60b7c5ede78db084ce0f2d6a0234040be1eb (patch) | |
tree | 35ad586cb5227453370c778fa13303157c4ab052 /config/python.m4 | |
parent | c92e2702f1b50f8ac7440b79274afdf2f0248816 (diff) | |
download | postgresql-7e8a60b7c5ede78db084ce0f2d6a0234040be1eb.tar.gz |
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 'config/python.m4')
-rw-r--r-- | config/python.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/python.m4 b/config/python.m4 index a84e9437de..7b6a14ed21 100644 --- a/config/python.m4 +++ b/config/python.m4 @@ -1,7 +1,7 @@ # # Autoconf macros for configuring the build of Python extension modules # -# $PostgreSQL: pgsql/config/python.m4,v 1.17 2009/12/15 22:59:53 petere Exp $ +# $PostgreSQL: pgsql/config/python.m4,v 1.18 2010/03/17 22:02:44 petere Exp $ # # PGAC_PATH_PYTHON @@ -72,7 +72,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'))))"` AC_MSG_RESULT([${python_libspec} ${python_additional_libs}]) |