Compare commits

..
Author SHA1 Message Date
f84009e602 feat: Add iOS platform support 2026-08-08 15:51:16 -04:00
76f9175857
update gomuks vendorHash 2026-08-08 13:27:10 -04:00
e32941f062
remove old extraEnv for macos
No longer needed.
2026-08-08 13:22:51 -04:00
cf89604ff5
update gomuks
Fixes error when fetching versions after login
2026-08-08 13:21:29 -04:00
3 changed files with 3 additions and 13 deletions

2
gomuks

@ -1 +1 @@
Subproject commit 2d566a2b585e2dba882714f7ca741a52afb36237 Subproject commit 9444dd293664c300c6e710bb6cddcd9c6cab365d

View file

@ -57,17 +57,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";

View file

@ -17,7 +17,7 @@ buildGoModule (
src = "${src}/gomuks"; src = "${src}/gomuks";
vendorHash = "sha256-fnRuw+zt6Iofv0kqypx+jy1gLvOHTQvJsOwSKu7kGLs="; vendorHash = "sha256-C03ss88QAnmZu+XxoHhc1M/261xFl8hR/pzLbU37Qe8=";
buildPhase = '' buildPhase = ''
runHook preBuild runHook preBuild