first attempt to make zeromq compilation optional #19

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
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
@yrashk

This comment has been minimized.

Show comment Hide comment
@yrashk

yrashk Jun 30, 2011

Member

Hey,

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

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

This comment has been minimized.

Show comment Hide comment
@schmurfy

schmurfy 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 :(

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

This comment has been minimized.

Show comment Hide comment
@yrashk

yrashk Jul 4, 2011

Member

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

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

This comment has been minimized.

Show comment Hide comment
@schmurfy

schmurfy Jul 4, 2011

no problem :)

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