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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/10c378f2350a8321ea76fc02d821a9e7707c7563

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