Browse Source

iproute2: fixed configure tests when cross-compiling

user/chris/wip/musl
Christian Wiese 12 years ago
parent
commit
6164aaf14d
  1. 8
      network/iproute2/iproute2.conf

8
network/iproute2/iproute2.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../iproute2/iproute2.conf
# Copyright (C) 2007 - 2010 The OpenSDE Project
# Copyright (C) 2007 - 2013 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
@ -17,6 +17,12 @@
prefix=
set_confopt
if atstage cross; then
# set LDFLAGS so configure tests will work when cross-compiling
var_append LDFLAGS ' ' "-L$( pkgprefix -r libdir $SDECFG_LIBC )"
var_append configprefix ' ' 'LDFLAGS=$LDFLAGS'
fi
var_append makeopt " " "KERNEL_INCLUDE=$root/usr/include"
var_append makeopt " " "LIBC_INCLUDE=$root/usr/include"
var_append makeinstopt " " "SBINDIR=$sbindir"

Loading…
Cancel
Save