diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-06-18 12:41:45 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-06-18 12:41:45 +0200 |
commit | 7ebfe4e439853b88997c9cfc2ff703408a1cca92 (patch) | |
tree | 3170e4d33478d9f4d6dc6026299b985ffefaf62a /Makefile.in | |
parent | Try EGD/PRNGD if random device fails. (diff) | |
download | openssh-7ebfe4e439853b88997c9cfc2ff703408a1cca92.tar.xz openssh-7ebfe4e439853b88997c9cfc2ff703408a1cca92.zip |
Put second -lssh in link line for sftp-server.
When building --without-openssl the recent port-prngd.c change adds
a dependency on atomicio, but since nothing else in sftp-server uses
it, the linker may not find it. Add a second -lssh similar to other
binaries.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 18cb4d46d..fc15a2ee2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -235,7 +235,7 @@ ssh-keyscan$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHKEYSCAN_OBJS) $(LD) -o $@ $(SSHKEYSCAN_OBJS) $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS) sftp-server$(EXEEXT): $(LIBCOMPAT) libssh.a $(SFTPSERVER_OBJS) - $(LD) -o $@ $(SFTPSERVER_OBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) + $(LD) -o $@ $(SFTPSERVER_OBJS) $(LDFLAGS) -lssh -lopenbsd-compat -lssh $(LIBS) sftp$(EXEEXT): $(LIBCOMPAT) libssh.a $(SFTP_OBJS) $(LD) -o $@ $(SFTP_OBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) $(LIBEDIT) |