Skip to content
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

Remove static linking for macos #6110

Closed
wants to merge 12 commits into from
6 changes: 6 additions & 0 deletions src/compiler/crystal/command.cr
Expand Up @@ -408,6 +408,12 @@ class Crystal::Command
end
opts.on("--static", "Link statically") do
compiler.static = true
{% if flag?(:darwin) %}
puts <<-INFO
macOS doesn't officially support static linking.
For more information: https://developer.apple.com/library/content/qa/qa1118/_index.html
INFO
{% end %}
end
end

Expand Down