Permalink
Browse files

Fix rebar compilation on Unix

Other Unix'es like Solaris will need to be added to the pattern match
in rebar.config.
  • Loading branch information...
1 parent 65dc75a commit b6a6eda3143925c1047e27d44ad79a74cac810a4 @msantos committed Oct 9, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 rebar.config
View
@@ -1,5 +1,5 @@
{port_env, [
- {"unix", "LDFLAGS", "-lpcap $LDFLAGS"},
+ {"linux|bsd", "LDFLAGS", "-lpcap $LDFLAGS"},
% Windows support
{"win32", "CC", "cl.exe"},
{"win32", "CXX", "cl.exe"},
@@ -9,7 +9,6 @@
]}.
{port_specs, [
- {"unix", "priv/ewpcap.so", ["c_src/ewpcap.c"]},
+ {"linux|bsd", "priv/ewpcap.so", ["c_src/ewpcap.c"]},
{"win32", "priv/ewpcap.dll", ["c_src/ewpcap.c"]}
]}.
-

0 comments on commit b6a6eda

Please sign in to comment.