Thread: pgsql: meson: Export all libcommon functions in Windows builds

pgsql: meson: Export all libcommon functions in Windows builds

From
Heikki Linnakangas
Date:
meson: Export all libcommon functions in Windows builds

This fixes "unresolved external symbol" errors with extensions that
use functions from libpgport that need special CFLAGS to
compile. Currently, that includes the CRC-32 functions.

Commit 2571c1d5cc did this for libcommon, but I missed that libpqport
has the same issue.

Reported-by: Tom Lane
Backpatch-through: 16, where Meson was introduced
Discussion: https://www.postgresql.org/message-id/CAOdR5yF0krWrxycA04rgUKCgKugRvGWzzGLAhDZ9bzNv8g0Lag@mail.gmail.com

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d8b0c64116483c1ce9711e66700dddd709941a22

Modified Files
--------------
src/port/meson.build | 1 +
1 file changed, 1 insertion(+)