couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject snappy commit: updated refs/heads/master to 347a8d7
Date Fri, 03 Apr 2015 22:59:32 GMT
Repository: couchdb-snappy
Updated Branches:
  refs/heads/master 8e008be13 -> 347a8d730


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.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/commit/347a8d73
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/tree/347a8d73
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-snappy/diff/347a8d73

Branch: refs/heads/master
Commit: 347a8d73029f8dfc01c063068f903931361fc835
Parents: 8e008be
Author: Alexander Shorin <kxepal@apache.org>
Authored: Sat Apr 4 01:52:47 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Sat Apr 4 01:58:49 2015 +0300

----------------------------------------------------------------------
 rebar.config | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-snappy/blob/347a8d73/rebar.config
----------------------------------------------------------------------
diff --git a/rebar.config b/rebar.config
index 84178d5..b1b067d 100644
--- a/rebar.config
+++ b/rebar.config
@@ -5,7 +5,8 @@
                 "c_src/snappy/*.cc"]}.
 {port_env, [
     {"CXXFLAGS", "$CXXFLAGS -DNDEBUG"},
-    {"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"}
+    {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)",
+     "LDFLAGS", "$LDFLAGS -lstdc++"}
 ]}.
 {so_name, "snappy_nif.so"}.
 {eunit_opts, [verbose]}.


Mime
View raw message