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.
This commit is contained in:
Lukas Oberhuber 2025-03-18 01:56:47 +00:00 committed by Jehan
parent a5c35fb244
commit 41ba9b315c

View file

@ -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