diff options
author | John Naylor <john.naylor@postgresql.org> | 2024-03-08 10:25:23 +0700 |
---|---|---|
committer | John Naylor <john.naylor@postgresql.org> | 2024-03-08 10:25:23 +0700 |
commit | 9552e3ace317ac8bb0a80613c0e5cd6536c96dc8 (patch) | |
tree | 45142ac087af52796503b35f9cbbb1142511c60c /src | |
parent | bf279ddd1c28ce0251446ee90043a4cb96e5db0f (diff) | |
download | postgresql-9552e3ace317ac8bb0a80613c0e5cd6536c96dc8.tar.gz postgresql-9552e3ace317ac8bb0a80613c0e5cd6536c96dc8.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/test/modules/test_radixtree/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
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 |