build: Don't strip Windows debug binaries

This commit is contained in:
Stefan Schmidt 2021-06-27 01:21:32 +02:00 committed by mborgerson
parent 0c64395114
commit 7cde5a222c
1 changed files with 6 additions and 2 deletions

View File

@ -14,7 +14,9 @@ package_windows() {
cp build/qemu-system-i386w.exe dist/xemu.exe
# cp -r "${project_source_dir}/data" dist/
python3 "${project_source_dir}/get_deps.py" dist/xemu.exe dist
strip dist/xemu.exe
if [ "$debug" != "y" ]; then
strip dist/xemu.exe
fi
}
package_wincross() {
@ -23,7 +25,9 @@ package_wincross() {
mkdir -p dist
cp build/qemu-system-i386w.exe dist/xemu.exe
# cp -r "${project_source_dir}/data" dist/
$STRIP dist/xemu.exe
if [ "$debug" != "y" ]; then
$STRIP dist/xemu.exe
fi
python3 ./scripts/gen-license.py --platform windows > dist/LICENSE.txt
}