From 687c8802a29683d4694069a70ad6432ac47fc0d4 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Mon, 10 Jul 2023 23:01:06 -0300 Subject: [PATCH] Jenkins: Remove redundant DLLs from Windows distribution --- .ci/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/build.sh b/.ci/build.sh index 728c09113..78dde0624 100755 --- a/.ci/build.sh +++ b/.ci/build.sh @@ -810,8 +810,8 @@ then "$sevenzip" e -y -o"archive_tmp" "$discord_zip" "lib/$arch_discord/discord_game_sdk.dll" [ ! -e "archive_tmp/discord_game_sdk.dll" ] && echo [!] No Discord Game SDK for architecture [$arch_discord] - # Archive other DLLs from local directory. - cp -p "/home/$project/dll$arch/"* archive_tmp/ + # Archive XAudio2 DLL if required. + grep -q "OPENAL:BOOL=ON" build/CMakeCache.txt || cp -p "/home/$project/dll$arch/xaudio2"* archive_tmp/ # Archive executable, while also stripping it if requested. if [ $strip -ne 0 ]