Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07f902b

Browse files
committed
meson: Export all libcommon functions in Windows builds
This fixes "unresolved external symbol" errors with extensions thatuse functions from libpgport that need special CFLAGS tocompile. Currently, that includes the CRC-32 functions.Commit2571c1d did this for libcommon, but I missed that libpqporthas the same issue.Reported-by: Tom LaneBackpatch-through: 16, where Meson was introducedDiscussion:https://www.postgresql.org/message-id/CAOdR5yF0krWrxycA04rgUKCgKugRvGWzzGLAhDZ9bzNv8g0Lag@mail.gmail.com
1 parent4c9b453 commit07f902b

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
@@ -184,6 +184,7 @@ foreach name, opts : pgport_variants
184184
lib=static_library('libpgport@0@'.format(name),
185185
pgport_sources,
186186
link_with: cflag_libs,
187+
link_whole: cflag_libs,
187188
c_pch: pch_c_h,
188189
kwargs: opts+ {
189190
'dependencies': opts['dependencies']+ [ssl],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp