summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorTom Lane2016-10-04 20:38:45 +0000
committerTom Lane2016-10-04 20:38:45 +0000
commitfc76259f5b8473dbd3d2009b0e4a267cf3a7e704 (patch)
treef5fd959acce33202dba074047beeb64586f3d0b4 /configure
parent46ddbbb1177a7e6ce5a4fe0ef8fa8ac49f36d0bb (diff)
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 7bb8f8b1c6..ef3526853c 100755
--- a/configure
+++ b/configure
@@ -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"