forked from Nexus/nexus
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f84009e602 | |||
|
76f9175857 |
|||
|
e32941f062 |
|||
|
cf89604ff5 |
3 changed files with 3 additions and 13 deletions
2
gomuks
2
gomuks
|
|
@ -1 +1 @@
|
|||
Subproject commit 2d566a2b585e2dba882714f7ca741a52afb36237
|
||||
Subproject commit 9444dd293664c300c6e710bb6cddcd9c6cab365d
|
||||
|
|
@ -57,17 +57,7 @@ Future<void> main(List<String> 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";
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ buildGoModule (
|
|||
|
||||
src = "${src}/gomuks";
|
||||
|
||||
vendorHash = "sha256-fnRuw+zt6Iofv0kqypx+jy1gLvOHTQvJsOwSKu7kGLs=";
|
||||
vendorHash = "sha256-C03ss88QAnmZu+XxoHhc1M/261xFl8hR/pzLbU37Qe8=";
|
||||
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
|
|
|
|||
Loading…
Reference in a new issue