Skip to content

fix: dynamic linking on MacOS with Zig 0.12.0 #275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 23, 2024
Merged

Conversation

aherrmann
Copy link
Owner

Closes #274

Changes the command line to link a dynamic library from some/libfoo.dylib to -Lsome -lfoo.

  • Revert "skip dylib linking on MacOS with 0.12.0"
  • Expand dynamic libraries to -L / -l flags
  • uniquify rpath arguments
  • Deduplicate library search path flags

@aherrmann aherrmann enabled auto-merge April 23, 2024 20:40
@aherrmann aherrmann merged commit b2adc7e into main Apr 23, 2024
@aherrmann aherrmann deleted the 0.12.0-macos-dylib branch April 23, 2024 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic linking fails on MacOS with Zig 0.12.0
1 participant