remove old extraEnv for macos
No longer needed.
This commit is contained in:
parent
cf89604ff5
commit
e32941f062
1 changed files with 1 additions and 11 deletions
|
|
@ -19,17 +19,7 @@ Future<void> main(List<String> args) => build(args, (input, output) async {
|
||||||
break;
|
break;
|
||||||
case OS.macOS:
|
case OS.macOS:
|
||||||
libFileName = "libgomuks.dylib";
|
libFileName = "libgomuks.dylib";
|
||||||
extraEnv = {
|
extraEnv = {"SDKROOT": await getXCodeSDK()};
|
||||||
"SDKROOT": await getXCodeSDK(),
|
|
||||||
"CGO_ENABLED": "1",
|
|
||||||
"GOARCH": switch (targetArch) {
|
|
||||||
Architecture.arm64 => "arm64",
|
|
||||||
Architecture.x64 => "amd64",
|
|
||||||
_ => throw UnsupportedError(
|
|
||||||
"Unsupported macOS architecture: $targetArch",
|
|
||||||
),
|
|
||||||
},
|
|
||||||
};
|
|
||||||
break;
|
break;
|
||||||
case OS.windows:
|
case OS.windows:
|
||||||
libFileName = "libgomuks.dll";
|
libFileName = "libgomuks.dll";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue