This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch update-snappy
in repository https://gitbox.apache.org/repos/asf/couchdb-snappy.git

commit 516b04c214b29ddfea214eee5d423a860db2ac24
Author: Kelly McLaughlin <[email protected]>
AuthorDate: Sun Apr 22 22:26:14 2012 -0600

    Update deprecated options in rebar.config.
---
 rebar.config | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/rebar.config b/rebar.config
index dadd226..ad92b23 100644
--- a/rebar.config
+++ b/rebar.config
@@ -1,10 +1,9 @@
 {require_otp_vsn, "R13B04|R14|R15"}.
 
 {erl_opts, [debug_info, warn_unused_vars, warn_shadow_vars, 
warn_unused_import]}.
-{port_sources, ["c_src/*.cc", 
-                "c_src/snappy/*.cc"]}.
-{port_envs, [
+{port_env, [
     {"(linux|solaris)", "LDFLAGS", "$LDFLAGS -lstdc++"}
 ]}.
-{so_name, "snappy_nif.so"}.
+{port_specs, [{"priv/snappy_nif.so", ["c_src/*.cc",
+                                      "c_src/snappy/*.cc"]}]}.
 {eunit_opts, [verbose]}.

Reply via email to