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

Bundled zeromq and czmq have never used when ruby was built with --with-opt-dir configure option #60

Open
mrkn opened this issue Aug 17, 2016 · 0 comments

Comments

@mrkn
Copy link

mrkn commented Aug 17, 2016

I use OS X El Capitan, homebrew, and rbenv.

I always build ruby with --with-opt-dir=$(brew --prefix) configure option.
Using this ruby, LIBPATH in Makefile generated by extconf.rb is:

LIBPATH =  -L. -L$(libdir) -L/opt/brew/lib -L/Users/mrkn/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rbczmq-1.7.9/ext/rbczmq/dst/lib

As you can see -L/opt/brew/lib, that is -L$(brew --prefix), is specified before rbczmq/dst/lib directory. This means zeromq and czmq installed by homebrew are always used rather than bundled zeromq and czmq.

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

No branches or pull requests

1 participant