summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2011-01-04 15:14:58 -0500
committerAdam Kocoloski <adam@cloudant.com>2011-01-04 15:19:06 -0500
commit0ddca37246a5541b38a266809fb77cfeeeb174f7 (patch)
tree7c438999b10eaeeb7f573b6212765aada3ea2cdc /apps
parent11af04ba67499a5aa3e85076b223c5ae8a9b500b (diff)
parent582e1f9f93d8d6896320edad103a8027bdaf8006 (diff)
Merge pull request #29 for FreeBSD compatibility
Diffstat (limited to 'apps')
-rw-r--r--apps/couch/rebar.config4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/couch/rebar.config b/apps/couch/rebar.config
index 9f34967d..94291c70 100644
--- a/apps/couch/rebar.config
+++ b/apps/couch/rebar.config
@@ -2,5 +2,7 @@
{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"}
+ {"linux", "DRV_LDFLAGS", "$DRV_LDFLAGS -lcrypt"},
+ {"freebsd", "DRV_CFLAGS", "$DRV_CFLAGS -I/usr/local/include"},
+ {"freebsd", "DRV_LDFLAGS", "$DRV_LDFLAGS -L/usr/local/lib"}
]}.