From 9552e3ace317ac8bb0a80613c0e5cd6536c96dc8 Mon Sep 17 00:00:00 2001 From: John Naylor Date: Fri, 8 Mar 2024 10:25:23 +0700 Subject: [PATCH] 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 --- src/test/modules/test_radixtree/meson.build | 1 + 1 file changed, 1 insertion(+) 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