summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/dhcp/0003-link-with-lcrypto.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp/0003-link-with-lcrypto.patch')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp/0003-link-with-lcrypto.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp/0003-link-with-lcrypto.patch b/meta/recipes-connectivity/dhcp/dhcp/0003-link-with-lcrypto.patch
deleted file mode 100644
index 5b35933a54..0000000000
--- a/meta/recipes-connectivity/dhcp/dhcp/0003-link-with-lcrypto.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From d80bd792323dbd56269309f85b4506eb6b1b60e9 Mon Sep 17 00:00:00 2001
2From: Andrei Gherzan <andrei@gherzan.ro>
3Date: Tue, 15 Aug 2017 15:05:47 +0800
4Subject: [PATCH 03/11] link with lcrypto
5
6From 4.2.0 final release, -lcrypto check was removed and we compile
7static libraries
8from bind that are linked to libcrypto. This is why i added a patch in
9order to add
10-lcrypto to LIBS.
11
12Upstream-Status: Pending
13Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
14
15Rebase to 4.3.6
16Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
17---
18 configure.ac | 4 ++++
19 1 file changed, 4 insertions(+)
20
21Index: dhcp-4.4.1/configure.ac
22===================================================================
23--- dhcp-4.4.1.orig/configure.ac
24+++ dhcp-4.4.1/configure.ac
25@@ -612,6 +612,10 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]],
26 # Look for optional headers.
27 AC_CHECK_HEADERS(sys/socket.h net/if_dl.h net/if6.h regex.h)
28
29+# find an MD5 library
30+AC_SEARCH_LIBS(MD5_Init, [crypto])
31+AC_SEARCH_LIBS(MD5Init, [crypto])
32+
33 # Solaris needs some libraries for functions
34 AC_SEARCH_LIBS(socket, [socket])
35 AC_SEARCH_LIBS(inet_ntoa, [nsl])