Permalink
Browse files

Update rebar

  • Loading branch information...
1 parent 042a49d commit 976b6fdf4c806d87ddc5b078a88bc765eabba156 @yrashk yrashk committed Mar 22, 2013
Showing with 3 additions and 1 deletion.
  1. BIN rebar
  2. +3 −1 rebar.config
View
BIN rebar
Binary file not shown.
View
@@ -1,9 +1,11 @@
{erl_opts, [debug_info, warnings_as_errors]}.
-{port_envs,
+{port_env,
[{"DRV_LDFLAGS","deps/zeromq3/src/.libs/libzmq.a -shared $ERL_LDFLAGS -lstdc++"},
{"darwin", "DRV_LDFLAGS", "deps/zeromq3/src/.libs/libzmq.a -bundle -flat_namespace -undefined suppress $ERL_LDFLAGS"},
{"DRV_CFLAGS","-Ic_src -Ideps/zeromq3/include -g -Wall -fPIC $ERL_CFLAGS"}]}.
+{port_specs, [{"priv/erlzmq_drv.so", ["c_src/*.c"]}]}.
+
{pre_hooks,[{compile,"make -C c_src"},
{clean, "make -C c_src clean"}]}.

0 comments on commit 976b6fd

Please sign in to comment.