diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | meson.build | 8 |
2 files changed, 10 insertions, 1 deletions
@@ -2,8 +2,9 @@ suil (0.10.17) unstable; urgency=medium * Add project metadata * Fix MacOS build when Gtk3 and Qt5 are present without X11 + * Fix opening wrapped UIs multiple times in Gtk - -- David Robillard <d@drobilla.net> Tue, 16 Aug 2022 00:34:49 +0000 + -- David Robillard <d@drobilla.net> Wed, 31 Aug 2022 23:16:45 +0000 suil (0.10.16) stable; urgency=medium diff --git a/meson.build b/meson.build index b19e5e0..c72af31 100644 --- a/meson.build +++ b/meson.build @@ -43,6 +43,9 @@ subdir('meson/suppressions') suil_abs_module_dir = get_option('prefix') / suil_module_dir platform_defines = ['-DSUIL_MODULE_DIR="@0@"'.format(suil_abs_module_dir)] +nodelete_c_link_args = cc.get_supported_link_arguments(['-Wl,-z,nodelete']) +nodelete_cpp_link_args = cpp.get_supported_link_arguments(['-Wl,-z,nodelete']) + ################ # Dependencies # ################ @@ -220,6 +223,7 @@ if gtk2_dep.found() and qt5_dep.found() include_directories: include_dirs, install: true, install_dir: suil_module_dir, + link_args: nodelete_cpp_link_args, ) endif @@ -233,6 +237,7 @@ if gtk2_dep.found() and gtk2_x11_dep.found() and x11_dep.found() include_directories: include_dirs, install: true, install_dir: suil_module_dir, + link_args: nodelete_c_link_args, ) endif @@ -246,6 +251,7 @@ if gtk3_dep.found() and gtk3_x11_dep.found() and x11_dep.found() include_directories: include_dirs, install: true, install_dir: suil_module_dir, + link_args: nodelete_c_link_args, ) endif @@ -259,6 +265,7 @@ if gtk3_dep.found() and gtk3_x11_dep.found() and qt5_dep.found() include_directories: include_dirs, install: true, install_dir: suil_module_dir, + link_args: nodelete_cpp_link_args, ) endif @@ -285,6 +292,7 @@ if gtk2_dep.found() and host_machine.system() == 'windows' include_directories: include_dirs, install: true, install_dir: suil_module_dir, + link_args: nodelete_cpp_link_args, ) endif |