illumos ld doesn't support --version-script. --- libwnck-43.0/libwnck/meson.build.orig 2022-09-16 15:45:59.000000000 +0200 +++ libwnck-43.0/libwnck/meson.build 2023-10-31 13:33:58.846913550 +0100 @@ -104,7 +104,6 @@ mapfile = MODULE_NAME + '.map' libwnck_ldflags = [ - '-Wl,--version-script,@0@/@1@'.format(meson.current_source_dir(), mapfile), ] if get_option('deprecation_flags')