Skip to content

Commit 976b6fd

Browse files
committed
Update rebar
1 parent 042a49d commit 976b6fd

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rebar

43.1 KB
Binary file not shown.

rebar.config

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{erl_opts, [debug_info, warnings_as_errors]}.
22

3-
{port_envs,
3+
{port_env,
44
[{"DRV_LDFLAGS","deps/zeromq3/src/.libs/libzmq.a -shared $ERL_LDFLAGS -lstdc++"},
55
{"darwin", "DRV_LDFLAGS", "deps/zeromq3/src/.libs/libzmq.a -bundle -flat_namespace -undefined suppress $ERL_LDFLAGS"},
66
{"DRV_CFLAGS","-Ic_src -Ideps/zeromq3/include -g -Wall -fPIC $ERL_CFLAGS"}]}.
77

8+
{port_specs, [{"priv/erlzmq_drv.so", ["c_src/*.c"]}]}.
9+
810
{pre_hooks,[{compile,"make -C c_src"},
911
{clean, "make -C c_src clean"}]}.

0 commit comments

Comments
 (0)