Browse Source

iproute2: fixed configure tests when cross-compiling

user/chris/wip/musl
Christian Wiese 12 years ago
parent
commit
6164aaf14d
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      network/iproute2/iproute2.conf

+ 7
- 1
network/iproute2/iproute2.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../iproute2/iproute2.conf # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -17,6 +17,12 @@
prefix= prefix=
set_confopt 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 " " "KERNEL_INCLUDE=$root/usr/include"
var_append makeopt " " "LIBC_INCLUDE=$root/usr/include" var_append makeopt " " "LIBC_INCLUDE=$root/usr/include"
var_append makeinstopt " " "SBINDIR=$sbindir" var_append makeinstopt " " "SBINDIR=$sbindir"

Loading…
Cancel
Save