commit | ed1af7e868829367f70079d0ad2b81c23e3cfc0f | [log] [tgz] |
---|---|---|
author | Wolfgang Grandegger <wg@grandegger.com> | Tue May 12 11:42:49 2009 +0200 |
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | Tue May 26 15:22:20 2009 -0700 |
tree | a7358c603e96116ac404fa591ce2433a4aa16905 | |
parent | a07e9912539d4ec26c954a9b03f04af987df6246 [diff] |
iproute2: Fixes an issue with cross-compilation Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
diff --git a/Makefile b/Makefile index ce8dd06..74e9d62 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 @@ ARPDDIR=/var/lib/arpd # Path to db_185.h include -DBM_INCLUDE:=/usr/include +DBM_INCLUDE:=$(ROOTDIR)/usr/include DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\"