Skip to content
Browse files

Merge branch 'rebar_fix' into ori_070812

  • Loading branch information...
2 parents 6cc6957 + 39c30bf commit 8871b9fdc15ac37350ab5447b180d27fd9fbcc0c @oribrost oribrost committed Aug 7, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 rebar.config
View
4 rebar.config
@@ -1,10 +1,12 @@
{erl_opts, [debug_info, warnings_as_errors]}.
-{port_envs,
+{port_env,
[{"DRV_LDFLAGS","deps/zeromq2/src/.libs/libzmq.a -shared $ERL_LDFLAGS -lstdc++ -luuid"},
{"darwin", "DRV_LDFLAGS", "deps/zeromq2/src/.libs/libzmq.a -bundle -flat_namespace -undefined suppress $ERL_LDFLAGS"},
{"netbsd", "DRV_LDFLAGS", "deps/zeromq2/src/.libs/libzmq.a -shared $ERL_LDFLAGS -lstdc++"},
{"DRV_CFLAGS","-Ic_src -Ideps/zeromq2/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 8871b9f

Please sign in to comment.
Something went wrong with that request. Please try again.