wpa_supplicant: fix cross build.
This commit is contained in:
parent
fad46b7afc
commit
800a985a0c
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ do_build() {
|
|||
cp -f ${FILESDIR}/config .config
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
export PKG_CONFIG_PATH="$XBPS_CROSS_BASE/usr/lib/pkgconfig"
|
||||
make CC="$XBPS_CROSS_TRIPLET-gcc" LD="$XBPS_CROSS_TRIPLET-ld" \
|
||||
AR="$XBPS_CROSS_TRIPLET-ar" RANLIB="$XBPS_CROSS_TRIPLET-ranlib" \
|
||||
PREFIX=/usr ${makejobs}
|
||||
|
|
Loading…
Reference in a new issue