blob: 5b35933a54a48c648ab0d80d23ddc29c6f8a620a [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 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
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080021Index: 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([[]],
Brad Bishopd7bf8c12018-02-25 22:55:05 -050026 # 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])