summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2012-06-16 21:08:55 -0400
committerAdam Kocoloski <adam@cloudant.com>2012-06-16 21:08:55 -0400
commit32233a7ebacd0cfab1a8ba7177df29ba7c22690b (patch)
tree0323176491e07e045614bef10fc9e414858a0f2c
parent0436a17fffaca7910250fcdee609852b417f3f24 (diff)
Fix deprecation warnings for port_compiler
-rw-r--r--apps/couch/rebar.config6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/couch/rebar.config b/apps/couch/rebar.config
index 25b7e569..ff7dbe82 100644
--- a/apps/couch/rebar.config
+++ b/apps/couch/rebar.config
@@ -1,5 +1,7 @@
-{so_name, "couch_icu_driver.so"}.
-{port_envs, [
+{port_specs, [
+ {"priv/couch_icu_driver.so", ["c_src/couch_icu_driver.c"]}
+]}.
+{port_env, [
{"DRV_CFLAGS", "$DRV_CFLAGS -DPIC -O2 -fno-common"},
{"DRV_LDFLAGS", "$DRV_LDFLAGS -lm -licuuc -licudata -licui18n -lpthread"},
{"linux", "DRV_LDFLAGS", "$DRV_LDFLAGS -lcrypt"},