mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 06:38:15 +00:00
Fixing compile on windows with mingw
It does not break cross-compiling on Linux
This commit is contained in:
parent
15f6da1c3a
commit
7ec29e7bc4
1 changed files with 2 additions and 2 deletions
4
make.sh
4
make.sh
|
@ -38,8 +38,8 @@ build_cross() {
|
||||||
[ "$UNAME" = Darwin ] && LIBARCHS="i386 x86_64"
|
[ "$UNAME" = Darwin ] && LIBARCHS="i386 x86_64"
|
||||||
CROSS=$1
|
CROSS=$1
|
||||||
CC=$CROSS-gcc \
|
CC=$CROSS-gcc \
|
||||||
AR=$CROSS-ar \
|
AR=$CROSS-gcc-ar \
|
||||||
RANLIB=$CROSS-ranlib \
|
RANLIB=$CROSS-gcc-ranlib \
|
||||||
GLIB="-L/usr/$CROSS/lib/ -lglib-2.0" \
|
GLIB="-L/usr/$CROSS/lib/ -lglib-2.0" \
|
||||||
${MAKE}
|
${MAKE}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue