Skip to content

Commit 9552e3a

Browse files
committed
Fix link error for test_radixtree module on Windows
Add back "link_with" directive, similar to the one removed by 1f1d73a, 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
1 parent bf279dd commit 9552e3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/modules/test_radixtree/meson.build

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ endif
1212

1313
test_radixtree = shared_module('test_radixtree',
1414
test_radixtree_sources,
15+
link_with: host_system == 'windows' ? pgport_shlib : [],
1516
kwargs: pg_test_mod_args,
1617
)
1718
test_install_libs += test_radixtree

0 commit comments

Comments
 (0)