diff options
author | Jan Lehnardt <jan@apache.org> | 2008-11-03 08:59:55 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2008-11-03 08:59:55 +0000 |
commit | cee8134f41f2dab481be12c93170c8486b3a5a84 (patch) | |
tree | 268777ab413658b676b9ce133f922e845f46ec52 /configure.ac | |
parent | beedd6826a270916db5f8e3cf4feca6416cdec9c (diff) |
Fix for building on OpenBSD. Link couchpass against -lcrypto instead of -lcrypt. Patch by Benoit Chesneau. Closes COUCHDB-151.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@710026 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index efbb51cd..80a178cb 100644 --- a/configure.ac +++ b/configure.ac @@ -109,8 +109,11 @@ AC_SUBST(CURL_CFLAGS) AC_SUBST(CURL_LIBS) case "$(uname -s)" in - Linux | *BSD) + Linux | FreeBSD) LIBS="$LIBS -lcrypt" + ;; + OpenBSD) + LIBS="$LIBS -lcrypto" ;; esac |