From 7e4e45a6693f6f4f4d2d0aedcaae1b1f8a56f24c Mon Sep 17 00:00:00 2001 From: Qing He Date: Tue, 30 Nov 2010 13:45:21 +0800 Subject: dhcp: fix cross build the new internal bind9 is not cross compiling friendly, use the external library Signed-off-by: Qing He --- meta/recipes-connectivity/dhcp/dhcp4.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta/recipes-connectivity/dhcp/dhcp4.inc') diff --git a/meta/recipes-connectivity/dhcp/dhcp4.inc b/meta/recipes-connectivity/dhcp/dhcp4.inc index f97de30297..e7cff3e038 100644 --- a/meta/recipes-connectivity/dhcp/dhcp4.inc +++ b/meta/recipes-connectivity/dhcp/dhcp4.inc @@ -10,6 +10,8 @@ HOMEPAGE = "http://www.isc.org/" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;md5=bb6fd41f5895b67088ebea61ad365e74" +DEPENDS = "bind" + SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \ file://site.h \ file://init-relay file://default-relay \ @@ -22,7 +24,9 @@ TARGET_CFLAGS += "-D_GNU_SOURCE" EXTRA_OECONF = "--with-srv-lease-file=${localstatedir}/lib/dhcp/dhcpd.leases \ --with-srv6-lease-file=${localstatedir}/lib/dhcp/dhcpd6.leases \ --with-cli-lease-file=${localstatedir}/lib/dhcp/dhclient.leases \ - --with-cli6-lease-file=${localstatedir}/lib/dhcp/dhclient6.leases" + --with-cli6-lease-file=${localstatedir}/lib/dhcp/dhclient6.leases \ + --with-libbind=${STAGING_LIBDIR}/.. \ + " do_compile_prepend () { cp -f ${WORKDIR}/site.h ${S}/includes -- cgit v1.2.3