mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-23 10:50:58 +00:00
Some fixes for mingw cross-builds.
The fixes came to light while getting ps3toolchain cross-building working.
This commit is contained in:
parent
bf41851bd9
commit
5684347088
2 changed files with 2 additions and 5 deletions
|
@ -1,9 +1,7 @@
|
|||
#!/bin/sh -x
|
||||
MINGW=/home/bill/src/mingw/mingw-cross-env-2.18
|
||||
export PKG_CONFIG_PATH=$MINGW/usr/lib/pkgconfig
|
||||
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 \
|
||||
--with-libcurl=$MINGW/usr/i686-pc-mingw32 \
|
||||
$*
|
||||
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
HOST_CC=gcc
|
||||
export HOST_CC
|
||||
MINGW=/home/bill/src/mingw/mingw-cross-env-2.18
|
||||
export PKG_CONFIG_PATH=$MINGW/usr/lib/pkgconfig
|
||||
export PKG_CONFIG_LIBDIR=$MINGW/usr/lib/pkgconfig
|
||||
export PATH=$MINGW/usr/bin:$PATH
|
||||
|
||||
make PAK=pak QFCC=qfcc $*
|
||||
|
||||
|
|
Loading…
Reference in a new issue