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

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Fix contrib/sepgsql and contrib/xml2 to always link required lib
Дата
Msg-id E1QuRVz-000640-DD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Allow sepgsql regression tests to be run from a user homedir.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix contrib/sepgsql and contrib/xml2 to always link required lib