postgesql: Update to 10.1

This commit is contained in:
Alexey Pavlov
2017-12-01 09:13:37 +03:00
parent 6c6af91fa4
commit fba9367a9d
3 changed files with 21 additions and 8 deletions

View File

@@ -49,3 +49,14 @@
else # can't build
--- postgresql-10.1/config/python.m4.orig 2017-12-01 08:18:11.189297000 +0300
+++ postgresql-10.1/config/python.m4 2017-12-01 08:18:22.161116600 +0300
@@ -88,7 +88,7 @@
python_ldlibrary=`${PYTHON} -c "import distutils.sysconfig; print(' '.join(filter(None,distutils.sysconfig.get_config_vars('LDLIBRARY'))))"`
# If LDLIBRARY exists and has a shlib extension, use it verbatim.
-ldlibrary=`echo "${python_ldlibrary}" | sed -e 's/\.so$//' -e 's/\.dll$//' -e 's/\.dylib$//' -e 's/\.sl$//'`
+ldlibrary=`echo "${python_ldlibrary}" | sed -e 's/\.so$//' -e 's/\.dll$//' -e 's/\.dll.a$//' -e 's/\.dylib$//' -e 's/\.sl$//'`
if test -e "${python_libdir}/${python_ldlibrary}" -a x"${python_ldlibrary}" != x"${ldlibrary}"
then
ldlibrary=`echo "${ldlibrary}" | sed "s/^lib//"`