1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Huh, we do need to look in $python_configdir for the Python shlib.

Debian does it that way, for no doubt what seems to them a good reason.
Thanks to Aidan Van Dyk for confirmation.
This commit is contained in:
Tom Lane
2016-10-04 16:38:45 -04:00
parent 46ddbbb117
commit fc76259f5b
2 changed files with 10 additions and 6 deletions

3
configure vendored
View File

@ -7639,7 +7639,8 @@ else
fi
# Search for a likely-looking file.
found_shlib=0
for d in "${python_libdir}" /usr/lib64 /usr/lib; do
for d in "${python_libdir}" "${python_configdir}" /usr/lib64 /usr/lib
do
for e in .so .dll .dylib .sl; do
if test -e "$d/lib${ldlibrary}$e"; then
python_libdir="$d"