wpa_supplicant: fix cross build.

This commit is contained in:
Juan RP 2013-05-23 10:27:45 +02:00
parent fad46b7afc
commit 800a985a0c

View file

@ -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}