From: Wolfgang Grandegger Date: Tue, 12 May 2009 09:42:49 +0000 (+0200) Subject: iproute2: Fixes an issue with cross-compilation X-Git-Tag: v2.6.31~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed1af7e868829367f70079d0ad2b81c23e3cfc0f;p=thirdparty%2Fiproute2.git iproute2: Fixes an issue with cross-compilation Signed-off-by: Wolfgang Grandegger --- diff --git a/Makefile b/Makefile index ce8dd06b1..74e9d6279 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ DESTDIR=/usr/ +ROOTDIR=$(DESTDIR) LIBDIR=/usr/lib/ SBINDIR=/sbin CONFDIR=/etc/iproute2 @@ -7,7 +8,7 @@ MANDIR=/share/man ARPDDIR=/var/lib/arpd # Path to db_185.h include -DBM_INCLUDE:=/usr/include +DBM_INCLUDE:=$(ROOTDIR)/usr/include DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\"