From 050e42cc6f3cddb6ac9d08aa228ea1e879755f95 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Wed, 12 Aug 2026 10:34:28 -0400 Subject: [PATCH] comp for older macos --- hook/build.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hook/build.dart b/hook/build.dart index 66ae366..a893544 100644 --- a/hook/build.dart +++ b/hook/build.dart @@ -50,7 +50,10 @@ Future main(List args) => build(args, (input, output) async { break; case OS.macOS: libFileName = "libgomuks.dylib"; - extraEnv = {"SDKROOT": await getXCodeTool()}; + extraEnv = { + "SDKROOT": await getXCodeTool(), + "MACOSX_DEPLOYMENT_TARGET": codeConfig.macOS.targetVersion.toString(), + }; break; case OS.windows: libFileName = "libgomuks.dll";