pgsql: meson: Export all libcommon functions in Windows builds

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: Export all libcommon functions in Windows builds
Date: 2024-12-25 17:25:11
Message-ID: E1tQV8A-001Isa-U6@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/643efb18bf80ff179981cbd91c843cc6ae97a713

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-12-26 03:56:59 pgsql: Fix typo in comment of compute_return_type() in functioncmds.c
Previous Message Peter Eisentraut 2024-12-25 17:17:59 pgsql: Add commit 301de6a6f60 to .git-blame-ignore-revs.