Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (16 sloc) 0.669 kb
{port_env, [
{"linux|bsd", "LDFLAGS", "-lpcap $LDFLAGS"},
{"solaris", "LDFLAGS", "-lpcap $LDFLAGS"},
{"solaris", "CFLAGS", "-std=c99 -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__=1 $CFLAGS"},
% Windows support
{"win32", "CC", "cl.exe"},
{"win32", "CXX", "cl.exe"},
{"win32", "LINKER", "link.exe"},
{"win32", "DRV_CFLAGS", "/W4 /wd4100 /wd4127 /D__WIN32__ /DWIN32"},
{"win32", "DRV_LDFLAGS", "$DRV_LDFLAGS ws2_32.lib wpcap.lib Packet.lib"}
]}.
{port_specs, [
{"linux|bsd", "priv/ewpcap.so", ["c_src/ewpcap.c"]},
{"solaris", "priv/ewpcap.so", ["c_src/ewpcap.c"]},
{"win32", "priv/ewpcap.dll", ["c_src/ewpcap.c"]}
]}.
Jump to Line
Something went wrong with that request. Please try again.