# MachO: fix dynamic lookup of undefined symbols at runtime · gitcafe/zig

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

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

Visibility: public

Requested revision: 2207c62bb5f6d61fc9f430e849d0aed13cf63d35

Requested commit: 2207c62bb5f6d61fc9f430e849d0aed13cf63d35

Commit: 2207c62bb5f6d61fc9f430e849d0aed13cf63d35

Tree: d880cf43c215d8323a40c45dea85f4942bdd0b04

Author: Mathias Lafeldt

Committer: Andrew Kelley

## Message

```
MachO: fix dynamic lookup of undefined symbols at runtime

Ensures `MH_NOUNDEFS` is not set when dynamic lookup is enabled for
undefined symbols via `linker_allow_shlib_undefined`.

```

## Parents

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

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