summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/dhcp/dhcp4.inc
diff options
context:
space:
mode:
authorQing He <qing.he@intel.com>2010-11-30 13:45:21 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-02 05:24:59 -0800
commit7e4e45a6693f6f4f4d2d0aedcaae1b1f8a56f24c (patch)
tree88e09b878bf6a266c3eae0a02c3f994fab48476f /meta/recipes-connectivity/dhcp/dhcp4.inc
parent070f173bdc2e4e6704ae40d0ce54b22b0940c5c8 (diff)
downloadopenembedded-core-7e4e45a6693f6f4f4d2d0aedcaae1b1f8a56f24c.tar.gz
openembedded-core-7e4e45a6693f6f4f4d2d0aedcaae1b1f8a56f24c.tar.bz2
openembedded-core-7e4e45a6693f6f4f4d2d0aedcaae1b1f8a56f24c.zip
dhcp: fix cross build
the new internal bind9 is not cross compiling friendly, use the external library Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/recipes-connectivity/dhcp/dhcp4.inc')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp4.inc6
1 files changed, 5 insertions, 1 deletions
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