From 7cde5a222cd77864b3bea5424970f6e86c85c28d Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Sun, 27 Jun 2021 01:21:32 +0200 Subject: [PATCH] build: Don't strip Windows debug binaries --- build.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 2dbed2375d..ac73f26d6b 100755 --- a/build.sh +++ b/build.sh @@ -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 }