quakeforge/tools/cross/mingw/cross-configure.sh
Bill Currie 5684347088 Some fixes for mingw cross-builds.
The fixes came to light while getting ps3toolchain cross-building working.
2012-08-18 22:12:02 +09:00

7 lines
242 B
Bash
Executable file

#!/bin/sh -x
MINGW=/home/bill/src/mingw/mingw-cross-env-2.18
export PKG_CONFIG_LIBDIR=$MINGW/usr/lib/pkgconfig
export PATH=$MINGW/usr/bin:$PATH
../configure --host=i686-pc-mingw32 \
SDL_CONFIG=$MINGW/usr/i686-pc-mingw32/bin/sdl-config \
$*