From a2cdc3df685702c7e9ca5fb97dd11eefa9fa497c Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sat, 8 Aug 2026 19:08:20 -0400 Subject: [PATCH] set CC manually macos --- hook/build.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hook/build.dart b/hook/build.dart index 4c89389..067ccba 100644 --- a/hook/build.dart +++ b/hook/build.dart @@ -48,7 +48,8 @@ Future main(List args) => build(args, (input, output) async { break; case OS.macOS: libFileName = "libgomuks.dylib"; - extraEnv = {"SDKROOT": await getXCodeTool()}; + + extraEnv = {"CC": await getXCodeTool(findTool: "clang")}; break; case OS.windows: libFileName = "libgomuks.dll";