diff options
Diffstat (limited to 'apps/couch/rebar.config')
-rw-r--r-- | apps/couch/rebar.config | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/couch/rebar.config b/apps/couch/rebar.config new file mode 100644 index 00000000..25b7e569 --- /dev/null +++ b/apps/couch/rebar.config @@ -0,0 +1,10 @@ +{so_name, "couch_icu_driver.so"}. +{port_envs, [ + {"DRV_CFLAGS", "$DRV_CFLAGS -DPIC -O2 -fno-common"}, + {"DRV_LDFLAGS", "$DRV_LDFLAGS -lm -licuuc -licudata -licui18n -lpthread"}, + {"linux", "DRV_LDFLAGS", "$DRV_LDFLAGS -lcrypt"}, + {"freebsd", "DRV_CFLAGS", "$DRV_CFLAGS -I/usr/local/include"}, + {"freebsd", "DRV_LDFLAGS", "$DRV_LDFLAGS -L/usr/local/lib"}, + {"solaris", "CC", "/usr/sfw/bin/gcc"}, + {"solaris", "DRV_LDFLAGS", "$DRV_LDFLAGS -L/opt/local/lib"} +]}. |