summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/dhcp/dhcp/search-for-libxml2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp/search-for-libxml2.patch')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp/search-for-libxml2.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp/search-for-libxml2.patch b/meta/recipes-connectivity/dhcp/dhcp/search-for-libxml2.patch
deleted file mode 100644
index a08a5b725f..0000000000
--- a/meta/recipes-connectivity/dhcp/dhcp/search-for-libxml2.patch
+++ /dev/null
@@ -1,23 +0,0 @@
1libdns requires libxml2 if bind was built with libxml2 support
2enabled. Compilation will fail for omapip/test.c in case
3lxml2 isn't used during the build. So, we add losely coupled
4search path which will pick up the lib if it is present.
5
6Signed-off-by: Awais Belal <awais_belal@mentor.com>
7Upstream-Status: Pending
8
9diff --git a/configure.ac b/configure.ac
10index c9dc8b5..85f59be 100644
11--- a/configure.ac
12+++ b/configure.ac
13@@ -602,6 +602,10 @@ no)
14 esac
15 AC_SUBST([libbind])
16
17+# We need to find libxml2 if bind was built with support enabled
18+# otherwise we'll fail to build omapip/test.c
19+AC_SEARCH_LIBS(xmlTextWriterStartElement, [xml2],)
20+
21 # OpenLDAP support.
22 AC_ARG_WITH(ldap,
23 AS_HELP_STRING([--with-ldap],[enable OpenLDAP support in dhcpd (default is no)]),