[package] dropbear: fix missing -lcrypt on BSDish host systems (#8971)
[openwrt/svn-archive/archive.git] / package / dropbear / patches / 200-lcrypt_bsdfix.patch
1 --- a/Makefile.in
2 +++ b/Makefile.in
3 @@ -28,7 +28,7 @@ COMMONOBJS=dbutil.o buffer.o \
4 queue.o \
5 atomicio.o compat.o fake-rfc2553.o
6
7 -SVROBJS=@CRYPTLIB@ svr-kex.o svr-algo.o svr-auth.o sshpty.o \
8 +SVROBJS=svr-kex.o svr-algo.o svr-auth.o sshpty.o \
9 svr-authpasswd.o svr-authpubkey.o svr-authpubkeyoptions.o svr-session.o svr-service.o \
10 svr-chansession.o svr-runopts.o svr-agentfwd.o svr-main.o svr-x11fwd.o\
11 svr-tcpfwd.o svr-authpam.o
12 @@ -77,7 +77,7 @@ STRIP=@STRIP@
13 INSTALL=@INSTALL@
14 CPPFLAGS=@CPPFLAGS@
15 CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@
16 -LIBS+=@LIBS@
17 +LIBS+=@CRYPTLIB@ @LIBS@
18 LDFLAGS=@LDFLAGS@
19
20 EXEEXT=@EXEEXT@