Skip to content
Browse files
Make with -lstdc++ on BSD systems
Without linking with libstdc++ snappy_nif builds fine, but fails to
load in runtime which causes confusing errors from CouchDB side.
  • Loading branch information
kxepal committed Apr 3, 2015
1 parent 8e008be commit 347a8d73029f8dfc01c063068f903931361fc835
Showing 1 changed file with 2 additions and 1 deletion.
@@ -5,7 +5,8 @@
{port_env, [
{"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"}
"LDFLAGS", "$LDFLAGS -lstdc++"}
{so_name, ""}.
{eunit_opts, [verbose]}.

0 comments on commit 347a8d7

Please sign in to comment.