2
1

dropbear-0.53.1-static_build_fix.patch 685 B

1234567891011121314151617181920212223242526
  1. dropbear: fix static build
  2. the -lcrypt is missing during the link
  3. svr-authpasswd.o: In function `svr_auth_password':
  4. svr-authpasswd.c:(.text+0xfc): undefined reference to `crypt'
  5. collect2: ld returned 1 exit status
  6. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  7. ---
  8. Makefile.in | 2 +-
  9. 1 file changed, 1 insertion(+), 1 deletion(-)
  10. Index: b/Makefile.in
  11. ===================================================================
  12. --- a/Makefile.in
  13. +++ b/Makefile.in
  14. @@ -77,7 +77,7 @@ STRIP=@STRIP@
  15. INSTALL=@INSTALL@
  16. CPPFLAGS=@CPPFLAGS@
  17. CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@
  18. -LIBS+=@LIBS@
  19. +LIBS+=@CRYPTLIB@ @LIBS@
  20. LDFLAGS=@LDFLAGS@
  21. EXEEXT=@EXEEXT@