From e32941f062f51599e6857c1383a4a52573dc24b4 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Sat, 8 Aug 2026 13:22:51 -0400 Subject: [PATCH] remove old extraEnv for macos No longer needed. --- hook/build.dart | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/hook/build.dart b/hook/build.dart index 625201d..984f8c6 100644 --- a/hook/build.dart +++ b/hook/build.dart @@ -19,17 +19,7 @@ Future main(List args) => build(args, (input, output) async { break; case OS.macOS: libFileName = "libgomuks.dylib"; - extraEnv = { - "SDKROOT": await getXCodeSDK(), - "CGO_ENABLED": "1", - "GOARCH": switch (targetArch) { - Architecture.arm64 => "arm64", - Architecture.x64 => "amd64", - _ => throw UnsupportedError( - "Unsupported macOS architecture: $targetArch", - ), - }, - }; + extraEnv = {"SDKROOT": await getXCodeSDK()}; break; case OS.windows: libFileName = "libgomuks.dll";