postgres.git / summary / log / commit / refs

commit    c80acbc6fae828fc1f88ef7fc1584bdbccb8de65
Author:   Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:     Wed Dec 25 16:14:18 2024 +0000
First released in: 18.0, 16.7, 17.3

    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


src/common/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/meson.build b/src/common/meson.build index de68e408fa3..b2d45c1d675 100644 --- a/src/common/meson.build +++ b/src/common/meson.build @@ -169,6 +169,7 @@ foreach name, opts : pgcommon_variants lib = static_library('libpgcommon@0@'.format(name), link_with: cflag_libs, + link_whole: cflag_libs, c_pch: pch_c_h, include_directories: include_directories('.'), kwargs: opts + { [parent: 89962bfef624]