{erl_opts, [debug_info, warn_unused_vars, warn_shadow_vars, warn_unused_import]}.
{port_sources, ["c_src/*.cc", 
                "c_src/snappy/*.cc"]}.
{port_env, [
    {"CXXFLAGS", "$CXXFLAGS -DNDEBUG"},
    {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
     "LDFLAGS", "$LDFLAGS -lstdc++"}
]}.
{so_name, "snappy_nif.so"}.
{eunit_opts, [verbose]}.
