summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRobert Newson <robert.newson@cloudant.com>2011-04-08 08:53:20 +0100
committerRobert Newson <robert.newson@cloudant.com>2011-04-08 08:53:41 +0100
commiteb26228bccb92cb0c2fa23ff187abf36ba4b1f13 (patch)
tree4106be7a0318219b9bbc7f6a6caf4000b33aef23 /apps
parent130a9d0f88e1650b661116e9114012ede317967d (diff)
add Solaris build support.
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 94291c70..25b7e569 100644
--- a/apps/couch/rebar.config
+++ b/apps/couch/rebar.config
@@ -4,5 +4,7 @@
{"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"}
+ {"freebsd", "DRV_LDFLAGS", "$DRV_LDFLAGS -L/usr/local/lib"},
+ {"solaris", "CC", "/usr/sfw/bin/gcc"},
+ {"solaris", "DRV_LDFLAGS", "$DRV_LDFLAGS -L/opt/local/lib"}
]}.