From cee8134f41f2dab481be12c93170c8486b3a5a84 Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Mon, 3 Nov 2008 08:59:55 +0000 Subject: 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 --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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 -- cgit v1.2.3