meson: Export all libcommon functions in Windows builds
authorHeikki Linnakangas <[email protected]>
Wed, 25 Dec 2024 16:14:18 +0000 (18:14 +0200)
committerHeikki Linnakangas <[email protected]>
Wed, 25 Dec 2024 16:14:18 +0000 (18:14 +0200)
commit2571c1d5cc5ed2620d601a7e12179bd951f2e202
tree3f60a7bddee240a6c2b88c6c6f015c701e714fb5
parentd663f150b5edd5ec4a5a3bbc24f9ad7e40f1abbb
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
src/common/meson.build