From 6bf1449fbcb75e81e2db2df5dd6f8bb03bdfe4af Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 23 Jun 2026 07:29:57 +0000 Subject: [PATCH] Fix macOS game module release target type --- content/baseoq4/meson.build | 4 ++-- tools/tests/macos_metal_bridge.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/content/baseoq4/meson.build b/content/baseoq4/meson.build index 888b7dfc..4e949b78 100644 --- a/content/baseoq4/meson.build +++ b/content/baseoq4/meson.build @@ -15,7 +15,7 @@ if build_games and build_game_sp install_dir: install_game_dir, ) elif host_system == 'darwin' - shared_module( + shared_library( game_sp_binary_name, game_sources, include_directories: game_include_dirs, @@ -63,7 +63,7 @@ if build_games and build_game_mp install_dir: install_game_dir, ) elif host_system == 'darwin' - shared_module( + shared_library( game_mp_binary_name, game_sources, include_directories: game_include_dirs, diff --git a/tools/tests/macos_metal_bridge.py b/tools/tests/macos_metal_bridge.py index 9db4ed67..628cd355 100644 --- a/tools/tests/macos_metal_bridge.py +++ b/tools/tests/macos_metal_bridge.py @@ -975,6 +975,8 @@ def validate_meson_contract() -> None: require(meson, "'macOS OpenAL provider': macos_openal_provider", "Meson summary") require(baseoq4_meson, "elif host_system == 'darwin'", "macOS game module source branch") + require(baseoq4_meson, "shared_library(\n game_sp_binary_name,", "macOS SP game module dylib target type") + require(baseoq4_meson, "shared_library(\n game_mp_binary_name,", "macOS MP game module dylib target type") require(baseoq4_meson, "name_suffix: 'dylib'", "macOS game module dylib suffix") require(baseoq4_meson, "-Wl,-install_name,@loader_path/", "macOS game module install name")