meson: Export all libcommon functions in Windows builds

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 07f902bd760791527511be9fc47440039bc86b5c
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-12-25T17:22:25Z
Releases: 18.0
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

Files

PathChange+/−
src/port/meson.build modified +1 −0

Discussion