summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2008-10-25 16:41:37 +0000
committerJan Lehnardt <jan@apache.org>2008-10-25 16:41:37 +0000
commit5d222134f9029462d61e2f8b3674a86561641f32 (patch)
tree17fa0d15723cf5b862208818a5cf0ff224efccfa /bin
parente556a8d9cf98de4f65d6eb0b746077e59c180bcd (diff)
Only link against -lcrypt on Linux & BSD systems.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@707861 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'bin')
-rw-r--r--bin/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/Makefile.am b/bin/Makefile.am
index 7b226e63..2d685e42 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -15,7 +15,8 @@ noinst_SCRIPTS = couchjs_dev
bin_PROGRAMS = couchpw
couchpw_SOURCES = couchpw.c
-couchpw_LDADD = -lcrypt
+
+couchpw_LDADD = $(LIBS)
if HELP2MAN
dist_man1_MANS = couchdb.1 couchjs.1