Skip to content

Commit d8b0c64

Browse files
committed
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 2571c1d 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
1 parent c80acbc commit d8b0c64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/port/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ foreach name, opts : pgport_variants
185185
lib = static_library('libpgport@0@'.format(name),
186186
pgport_sources,
187187
link_with: cflag_libs,
188+
link_whole: cflag_libs,
188189
c_pch: pch_c_h,
189190
kwargs: opts + {
190191
'dependencies': opts['dependencies'] + [ssl],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy