From: John Naylor Date: Fri, 8 Mar 2024 03:25:23 +0000 (+0700) Subject: Fix link error for test_radixtree module on Windows X-Git-Tag: REL_17_BETA1~712 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=9552e3ace317ac8bb0a80613c0e5cd6536c96dc8;p=postgresql.git Fix link error for test_radixtree module on Windows Add back "link_with" directive, similar to the one removed by 1f1d73a8b, but only for Windows, but use the "_shlib" variation. Diagnosis by Masahiko Sawada, proposed fix adjusted and tested by me Per buildfarm members drongo and fairywren Discussion: https://postgr.es/m/CAD21AoAMm1mQd%3Dw4PrfrKK%3DOMP8j8%3D7ntJRPF8%2B%3D10iUuvwiCA%40mail.gmail.com --- diff --git a/src/test/modules/test_radixtree/meson.build b/src/test/modules/test_radixtree/meson.build index 4a541a78ca4..c410539e880 100644 --- 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_shlib : [], kwargs: pg_test_mod_args, ) test_install_libs += test_radixtree