Content-Length: 254458 | pFad | http://github.com/postgrespro/postgres/commit/2571c1d5cc5ed2620d601a7e12179bd951f2e202

F9 meson: Export all libcommon functions in Windows builds · postgrespro/postgres@2571c1d · GitHub
Skip to content

Commit 2571c1d

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common/meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ foreach name, opts : pgcommon_variants
184184

185185
lib = static_library('libpgcommon@0@'.format(name),
186186
link_with: cflag_libs,
187+
link_whole: cflag_libs,
187188
c_pch: pch_c_h,
188189
kwargs: opts + {
189190
'include_directories': [

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/2571c1d5cc5ed2620d601a7e12179bd951f2e202

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy