-
Notifications
You must be signed in to change notification settings - Fork 75
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
Adds support macOS dylib #86
Conversation
Hi @eric please check my changes. I found some issue to compile on macOS Mojave beta: somehow |
ext/extconf.rb
Outdated
@@ -83,10 +83,9 @@ def safe_sh(cmd) | |||
|
|||
# Absolutely prevent the linker from picking up any other zookeeper_mt | |||
Dir.chdir("#{HERE}/lib") do | |||
%w[st mt].each do |stmt| |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the line copying the mt
version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on https://github.com/zk-ruby/zookeeper/pull/86/files#diff-b3c266c0a40fd6ea5ce51093b147dbe6R93 there is no mt
usage. I could split into 2 commits with dylib adding and then with small refactoring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, yep I'll create separate PR for that refactoring
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated PR without this change
Clang-7 linker does not support `.a` and `.la` libs. Use dylibs for linker instead of old libraries
Hi @eric please check again. I removed extra cleanups. Just added support for |
Looks good |
No description provided.