Skip to content

Add the ability to dynamically link the system libc++ when installing Zig with a package manager on macOS  #23189

Open
@utox39

Description

@utox39

Hello there 👋
As reported in Homebrew/homebrew-core#210073 and #23127, Zig is built/linked incorrectly when you try to install it via Homebrew. This is because it is not possible to dynamically link system libc++ when using a package manager (e.g. Homebrew) for macOS.

For further context:
https://github.com/Homebrew/homebrew-core/pull/210173/files/8c652a274e6fda98b4ff8efe82b125af8344433b

https://ziggit.dev/t/linking-stage3-zig-dynamically-with-system-libc/5726

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behaviorlinkingos-macos

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions