mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 11:39:53 +00:00
build: Fix building on mingw
This commit is contained in:
parent
0c21a5f3b4
commit
14def2a293
1
build.sh
1
build.sh
@ -234,6 +234,7 @@ case "$platform" in # Adjust compilation options based on platform
|
|||||||
CYGWIN*|MINGW*|MSYS*)
|
CYGWIN*|MINGW*|MSYS*)
|
||||||
echo 'Compiling for Windows...'
|
echo 'Compiling for Windows...'
|
||||||
sys_cflags='-Wno-error'
|
sys_cflags='-Wno-error'
|
||||||
|
CFLAGS="${CFLAGS} -lIphlpapi -lCrypt32" # workaround for linking libs on mingw
|
||||||
opts="$opts --disable-fortify-source"
|
opts="$opts --disable-fortify-source"
|
||||||
postbuild='package_windows' # set the above function to be called after build
|
postbuild='package_windows' # set the above function to be called after build
|
||||||
target="qemu-system-i386w.exe"
|
target="qemu-system-i386w.exe"
|
||||||
|
Loading…
Reference in New Issue
Block a user