Thread: pgsql: Fix contrib/sepgsql and contrib/xml2 to always link required lib

pgsql: Fix contrib/sepgsql and contrib/xml2 to always link required lib

From
Robert Haas
Date:
Fix contrib/sepgsql and contrib/xml2 to always link required libraries.

contrib/xml2 can get by without libxslt; the relevant features just
won't work.  But if doesn't have libxml2, or if sepgsql doesn't have
libselinux, the link succeeds but the module then fails to work at load
time.  To avoid that, link the require libraries unconditionally, so
that it will be clear at link-time that there is a problem.

Per discussion with Tom Lane and KaiGai Kohei.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1ffcc377f692fb227ebfeb6036aa949099d71979

Modified Files
--------------
contrib/sepgsql/Makefile |    2 +-
contrib/xml2/Makefile    |    2 +-
2 files changed, 2 insertions(+), 2 deletions(-)