On Fri, Mar 8, 2024 at 8:09 AM Masahiko Sawada <[email protected]> wrote: > Yesterday I've confirmed the something like the below fixes the > problem happened in Windows CI: > > --- a/src/test/modules/test_radixtree/meson.build > +++ b/src/test/modules/test_radixtree/meson.build > @@ -12,6 +12,7 @@ endif > > test_radixtree = shared_module('test_radixtree', > test_radixtree_sources, > + link_with: host_system == 'windows' ? pgport_srv : [], > kwargs: pg_test_mod_args, > ) > test_install_libs += test_radixtree
pgport_srv is for backend, shared libraries should be using pgport_shlib Further, the top level meson.build has: # all shared libraries not part of the backend should depend on this frontend_shlib_code = declare_dependency( include_directories: [postgres_inc], link_with: [common_shlib, pgport_shlib], sources: generated_headers, dependencies: [shlib_code, os_deps, libintl], ) ...but the only things that declare needing frontend_shlib_code are in src/interfaces/. In any case, I'm trying it in CI branch with pgport_shlib now.
