1
0
Эх сурвалжийг харах

build: Enable hardened runtime in Mac codesigning

syncthing/syncthing-macos#111
Jakob Borg 5 жил өмнө
parent
commit
aac3750298
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      build.go

+ 1 - 1
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