mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
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
This commit is contained in:
parent
89962bfef6
commit
c80acbc6fa
@ -169,6 +169,7 @@ foreach name, opts : pgcommon_variants
|
|||||||
|
|
||||||
lib = static_library('libpgcommon@0@'.format(name),
|
lib = static_library('libpgcommon@0@'.format(name),
|
||||||
link_with: cflag_libs,
|
link_with: cflag_libs,
|
||||||
|
link_whole: cflag_libs,
|
||||||
c_pch: pch_c_h,
|
c_pch: pch_c_h,
|
||||||
include_directories: include_directories('.'),
|
include_directories: include_directories('.'),
|
||||||
kwargs: opts + {
|
kwargs: opts + {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user