# macho: set CS_LINKER_SIGNED flag in code signature generated by zld · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/8b5d5f44e23c86082fba480f01092f2f7ffb3dfe)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 8b5d5f44e23c86082fba480f01092f2f7ffb3dfe

Requested commit: 8b5d5f44e23c86082fba480f01092f2f7ffb3dfe

Commit: 8b5d5f44e23c86082fba480f01092f2f7ffb3dfe

Tree: d0e421eb43062060f4a7df937a7171d86f6a5883

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: set CS_LINKER_SIGNED flag in code signature generated by zld

This way, if the user wants to use `codesign` (or other tool) they
will not be forced to `-f` force signature update. This matches
the behavior promoted by Apple's `ld64` linker.

```

## Parents

- [fd29ddc06c914a994ecb41714a7c4470ceda5af3](https://git.cafe/gitcafe/zig/commit/fd29ddc06c914a994ecb41714a7c4470ceda5af3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/8b5d5f44e23c86082fba480f01092f2f7ffb3dfe?format=markdown)
