mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-19 14:17:24 +00:00
iproute2: Fixes an issue with cross-compilation
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
This commit is contained in:
parent
a07e991253
commit
ed1af7e868
3
Makefile
3
Makefile
@ -1,4 +1,5 @@
|
|||||||
DESTDIR=/usr/
|
DESTDIR=/usr/
|
||||||
|
ROOTDIR=$(DESTDIR)
|
||||||
LIBDIR=/usr/lib/
|
LIBDIR=/usr/lib/
|
||||||
SBINDIR=/sbin
|
SBINDIR=/sbin
|
||||||
CONFDIR=/etc/iproute2
|
CONFDIR=/etc/iproute2
|
||||||
@ -7,7 +8,7 @@ MANDIR=/share/man
|
|||||||
ARPDDIR=/var/lib/arpd
|
ARPDDIR=/var/lib/arpd
|
||||||
|
|
||||||
# Path to db_185.h include
|
# Path to db_185.h include
|
||||||
DBM_INCLUDE:=/usr/include
|
DBM_INCLUDE:=$(ROOTDIR)/usr/include
|
||||||
|
|
||||||
DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\"
|
DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user