pgsql: In python shlib probe, cater for OpenBSD, which omits the .so sy

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In python shlib probe, cater for OpenBSD, which omits the .so sy
Date: 2016-10-05 15:45:06
Message-ID: E1broNW-0000HR-Fp@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

In python shlib probe, cater for OpenBSD, which omits the .so symlink.

Most Unix-oid platforms provide a symlink "libfoo.so" -> "libfoo.so.n.n"
to allow the linker to resolve a reference "-lfoo" to a version-numbered
shared library. OpenBSD has apparently hacked ld(1) to do this internally,
because there are no such symlinks to be found in their library
directories. Tweak the new code in PGAC_CHECK_PYTHON_EMBED_SETUP to cope.
Per buildfarm member curculio.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ddd4f82cb6f65354776541dfac3bedf680e0e303

Modified Files
--------------
config/python.m4 | 22 ++++++++++++++++++++--
configure | 22 ++++++++++++++++++++--
2 files changed, 40 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-10-05 17:10:32 pgsql: Update obsolete comments and perldoc.
Previous Message Tom Lane 2016-10-05 14:24:43 Re: pgsql: Huh, we do need to look in $python_configdir for the Python shli