From 41ba9b315c00eac3c980c1bc03a7da8a0e6a362b Mon Sep 17 00:00:00 2001 From: Lukas Oberhuber Date: Tue, 18 Mar 2025 01:56:47 +0000 Subject: [PATCH] meson: fix 13146 This is probably a temporary fix until 13149 is tackled. And we need to make sure it works on all platforms. The problem has been patched on macOS so we could also skip this change until the proper fix is done. --- modules/meson.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/meson.build b/modules/meson.build index f7e9992dc0..ce90da33c0 100644 --- a/modules/meson.build +++ b/modules/meson.build @@ -86,7 +86,7 @@ foreach module : modules link = module.get('link', []) link_args = module.get('link-args', []) - library(name, + shared_module(name, srcs, include_directories: rootInclude, dependencies: modules_deps + [ deps ], @@ -94,5 +94,7 @@ foreach module : modules link_args: link_args, install: true, install_dir: gimpplugindir / 'modules', + # Explicitly set .so suffix on macOS + name_suffix: host_machine.system() == 'darwin' ? 'so' : [], ) -endforeach +endforeach \ No newline at end of file