pgsql: Improve build-time check that libpq doesn't call exit().

Started by Tom Laneabout 5 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Improve build-time check that libpq doesn't call exit().

Further fixes for commit dc227eb82. Per suggestion from
Peter Eisentraut, use a stamp-file to control when the check
is run, avoiding repeated executions during "make all".
Also, remove "-g" switch for nm: it's useless and some versions
of nm consider it to conflict with "-u". (Thanks to Noah Misch
for running down that portability issue.)

Discussion: /messages/by-id/3128896.1624742969@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2f7bae2f924d8213a76370f825dc15eb0aa79796

Modified Files
--------------
src/interfaces/libpq/.gitignore | 1 +
src/interfaces/libpq/Makefile | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)