Fix link failures due to snprintf/strerror changes.
Tom Lane <tgl@sss.pgh.pa.us>
Fix link failures due to snprintf/strerror changes. snprintf.c requires isnan(), which requires -lm on some platforms. libpq never bothered with -lm before, but now it needs it. strerror.c tries to translate a string or two, which requires -lintl. We'd managed never to need that anywhere in ecpg/pgtypeslib/ before, but now we do. Per buildfarm and a report from Peter Eisentraut. Discussion: https://postgr.es/m/20180926190934.ea4xvzhkayuw7gkx@alap3.anarazel.de Discussion: https://postgr.es/m/f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/pgtypeslib/Makefile | modified | +1 −1 |
| src/interfaces/libpq/Makefile | modified | +2 −2 |
Discussion
- Allowing printf("%m") only where it actually works 50 messages · 2018-05-21 → 2018-10-09
Cited messages not in the archive:
f67b5008-9f01-057f-2bff-558cb53af851@2ndquadrant.com