aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/netbsd.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-10-05 22:47:23 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2016-10-05 22:47:23 -0400
commit11c0e743b67acc9a0406b6058ed24de5e5527cf0 (patch)
treedae7e943559abf62eca4f9cb4bd98289cf76442f /src/backend/port/dynloader/netbsd.c
parent61f9e7ba3c4e4bde887f980b9316fb818ede59b6 (diff)
downloadpostgresql-11c0e743b67acc9a0406b6058ed24de5e5527cf0.tar.gz
postgresql-11c0e743b67acc9a0406b6058ed24de5e5527cf0.zip
Try to fix python shlib probe for MinGW.
Per discussion with Andrew Dunstan, it seems there are three peculiarities of the Python installation on MinGW (or at least, of the instance on buildfarm member frogmouth). First, the library name doesn't contain "2.7" but just "27". It looks like we can deal with that by consulting get_config_vars('VERSION') to see whether a dot should be used or not. Second, the library might be in c:/Windows/System32, analogously to it possibly being in /usr/lib on Unix-oid platforms. Third, it's apparently not standard to use the prefix "lib" on the file name. This patch will accept files with or without "lib", but the first part of that may well be dead code.
Diffstat (limited to 'src/backend/port/dynloader/netbsd.c')
0 files changed, 0 insertions, 0 deletions