diff options
author | Jakob Borg <jakob@kastelo.net> | 2020-05-11 18:16:44 +0200 |
---|---|---|
committer | Jakob Borg <jakob@kastelo.net> | 2020-05-11 18:19:39 +0200 |
commit | aac3750298b2baefcd8caaa4f37cdf9450d979c9 (patch) | |
tree | 1b4e66b5685228d32d0cb05407249b0197880f4f /build.go | |
parent | a94951becdd7bc2de1cee34d603db3aa92e0fba7 (diff) | |
download | syncthing-aac3750298b2baefcd8caaa4f37cdf9450d979c9.tar.gz syncthing-aac3750298b2baefcd8caaa4f37cdf9450d979c9.zip |
build: Enable hardened runtime in Mac codesigning
syncthing/syncthing-macos#111
Diffstat (limited to 'build.go')
-rw-r--r-- | build.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |