at 22.05-pre 13 lines 542 B view raw
1diff --git a/meson.build b/meson.build 2index 45df103f0..d57d13172 100644 3--- a/meson.build 4+++ b/meson.build 5@@ -342,7 +342,7 @@ cdata.set('MESON_BUILD', 1) 6 # On ELF systems we don't want the libraries to be unloaded since we don't clean them up properly, 7 # so we request the nodelete flag to be enabled. 8 # On other systems, we don't really know how to do that, but it's welcome if somebody can tell. 9-nodelete_link_args = ['-Wl,-z,nodelete'] 10+nodelete_link_args = cc.get_supported_link_arguments(['-Wl,-z,nodelete']) 11 12 # Code coverage 13