# macho: implement \-headerpad_size option · gitcafe/zig

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

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

Visibility: public

Requested revision: 8c1feef4cd3af223ed8278bd55e8191936b526f0

Requested commit: 8c1feef4cd3af223ed8278bd55e8191936b526f0

Commit: 8c1feef4cd3af223ed8278bd55e8191936b526f0

Tree: 1d4c7e0b459a47f1af6c6534822330684c8b31d6

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: implement -headerpad_size option

Includes both traditiona and incremental codepaths with one caveat that
in incremental case, the requested size cannot be smaller than the
default padding size due to prealloc required due to incremental nature
of linking.

Also parse `-headerpad_max_install_names`, however, not actionable just yet -
missing implementation.

```

## Parents

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

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