diff options
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear/dropbear-0.53.1-static_build_fix.patch')
-rw-r--r-- | meta/recipes-core/dropbear/dropbear/dropbear-0.53.1-static_build_fix.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-core/dropbear/dropbear/dropbear-0.53.1-static_build_fix.patch b/meta/recipes-core/dropbear/dropbear/dropbear-0.53.1-static_build_fix.patch new file mode 100644 index 0000000000..14a87705d0 --- /dev/null +++ b/meta/recipes-core/dropbear/dropbear/dropbear-0.53.1-static_build_fix.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | Upstream-Status: Inappropriate [Pending] | ||
2 | Get this patch from buildroot maillist. | ||
3 | |||
4 | dropbear: fix static build | ||
5 | |||
6 | The latest release 0.53.1 change: lcrypt needs to be before object files for static linking | ||
7 | |||
8 | the -lcrypt is missing during the link | ||
9 | |||
10 | svr-authpasswd.o: In function `svr_auth_password': | ||
11 | svr-authpasswd.c:(.text+0xfc): undefined reference to `crypt' | ||
12 | collect2: ld returned 1 exit status | ||
13 | |||
14 | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> | ||
15 | Signed-off-by: Mei Lei <lei.mei@intel.com> | ||
16 | |||
17 | diff --git a/Makefile.in b/Makefile.in | ||
18 | index 8d81647..0b9b769 100644 | ||
19 | --- a/Makefile.in | ||
20 | +++ b/Makefile.in | ||
21 | @@ -77,7 +77,7 @@ STRIP=@STRIP@ | ||
22 | INSTALL=@INSTALL@ | ||
23 | CPPFLAGS=@CPPFLAGS@ | ||
24 | CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @CFLAGS@ | ||
25 | -LIBS+=@LIBS@ | ||
26 | +LIBS+=@CRYPTLIB@ @LIBS@ | ||
27 | LDFLAGS=@LDFLAGS@ | ||
28 | |||
29 | EXEEXT=@EXEEXT@ | ||