mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-15 18:08:45 -07:00
build: Enable hardened runtime in Mac codesigning
syncthing/syncthing-macos#111
This commit is contained in:
parent
a94951becd
commit
aac3750298
2
build.go
2
build.go
@ -1144,7 +1144,7 @@ func macosCodesign(file string) {
|
||||
}
|
||||
|
||||
if id := os.Getenv("CODESIGN_IDENTITY"); id != "" {
|
||||
bs, err := runError("codesign", "-s", id, file)
|
||||
bs, err := runError("codesign", "--options=runtime", "-s", id, file)
|
||||
if err != nil {
|
||||
log.Println("Codesign: signing failed:", string(bs))
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user