meson: Export all libcommon functions in Windows builds

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: c80acbc6fae828fc1f88ef7fc1584bdbccb8de65
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2024-12-25T16:14:26Z
Releases: 17.3
meson: Export all libcommon functions in Windows builds

This fixes "unresolved external symbol" errors with extensions that
use functions from libcommon. This was reported with pgvector.

Reported-by: Andrew Kane
Author: Vladlen Popolitov
Backpatch-through: 16, where Meson was introduced
Discussion: https://www.postgresql.org/message-id/CAOdR5yF0krWrxycA04rgUKCgKugRvGWzzGLAhDZ9bzNv8g0Lag@mail.gmail.com

Files

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

Discussion