Mercurial > dropbear
changeset 519:a1b7c6cdd48a
Only use -lcrypt for Dropbear server binary
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 17 Nov 2008 14:04:14 +0000 |
parents | ce104c8b0be1 |
children | 5e344cdfbae2 |
files | Makefile.in configure.in |
diffstat | 2 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.in Wed Nov 12 13:13:00 2008 +0000 +++ b/Makefile.in Mon Nov 17 14:04:14 2008 +0000 @@ -25,7 +25,7 @@ SVROBJS=svr-kex.o svr-algo.o svr-auth.o sshpty.o \ svr-authpasswd.o svr-authpubkey.o svr-authpubkeyoptions.o svr-session.o svr-service.o \ svr-chansession.o svr-runopts.o svr-agentfwd.o svr-main.o svr-x11fwd.o\ - svr-tcpfwd.o svr-authpam.o + svr-tcpfwd.o svr-authpam.o $(CRYPTLIB) CLIOBJS=cli-algo.o cli-main.o cli-auth.o cli-authpasswd.o cli-kex.o \ cli-session.o cli-service.o cli-runopts.o cli-chansession.o \
--- a/configure.in Wed Nov 12 13:13:00 2008 +0000 +++ b/configure.in Mon Nov 17 14:04:14 2008 +0000 @@ -82,7 +82,8 @@ ],,,) # Checks for libraries. -AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt") +AC_CHECK_LIB(crypt, crypt, CRYPTLIB="-lcrypt") +AC_SUBST(CRYPTLIB) # Check if zlib is needed AC_ARG_WITH(zlib,