Skip to content

first attempt to make zeromq compilation optional #19

Closed
wants to merge 1 commit into from

2 participants

@schmurfy

The option is used like this:
$ ZEROMQ_LIB=/usr/local/lib/libzmq.a make

I am not too sure about how it should be done but at least this method works :)

Julien Ammous added an option to reuse an already compiled zeromq
added ZEROMQ_LIB environment variable, usage :
$ ZEROMQ_LIB=/usr/local/lib/libzmq.a make
56c8735
@yrashk
The ZeroMQ project member
yrashk commented Jun 30, 2011

Hey,

thanks for sending this in. Let me play with this a bit and see how this works.

@schmurfy
schmurfy commented Jul 1, 2011

There is one problem with this approach: if you are using erlzmq2 as a dependency managed with rebar each time you do a "rebar compile" in your application folder it will run make in erlzmq2 meaning that for this patch to work effectively you need to have something like that in your main application Makefile:
export ZEROMQ_LIB=/usr/local/lib/libzmq.a
That is what I am currently doing but it kinda feels ugly :(

@yrashk
The ZeroMQ project member
yrashk commented Jul 4, 2011

Hey, I didn't forget about this issue/pull request — just extremely busy. Will get back to you ASAP

@schmurfy
schmurfy commented Jul 4, 2011

no problem :)

@schmurfy schmurfy closed this May 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.