mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 06:25:28 +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
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