Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rebar fix spam

  • Loading branch information...
commit 058eef41140a8103b17d4d863bbd443e5de9c4cd 1 parent 7533ad0
@msantos authored
Showing with 7 additions and 4 deletions.
  1. +1 −0  README.md
  2. +6 −4 rebar.config
View
1  README.md
@@ -17,6 +17,7 @@ epcap includes a small example program called sniff.
youruser ALL = NOPASSWD: /path/to/epcap/priv/epcap
erl -pa ebin deps/*/ebin
+
% Start the gen_server
sniff:start_link().
View
10 rebar.config
@@ -1,8 +1,10 @@
-{port_envs, [
- {"DRV_CFLAGS", "-g -Wall $ERL_CFLAGS"},
- {"DRV_LDFLAGS", "-lpcap $ERL_LDFLAGS"}
+{port_env, [
+ {"EXE_CFLAGS", "-g -Wall $ERL_CFLAGS"},
+ {"EXE_LDFLAGS", "-lpcap $ERL_LDFLAGS"}
+ ]}.
+{port_specs, [
+ {"priv/epcap", ["c_src/epcap.c", "c_src/epcap_priv.c"]}
]}.
-{so_name, "epcap"}.
{deps, [
{pkt, ".*", {git, "git://github.com/msantos/pkt.git", "master"}}
]}.
Please sign in to comment.
Something went wrong with that request. Please try again.