From: z411 Date: Fri, 25 Feb 2022 23:25:12 +0000 (-0300) Subject: Added copy of required DLL for win32 builds X-Git-Tag: xonotic-v0.8.5~14^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0940499b26da05a992188f7e9599c36decc473dc;p=xonotic%2Fxonotic.git Added copy of required DLL for win32 builds --- diff --git a/misc/buildsrc/dlls.sh b/misc/buildsrc/dlls.sh index 6baf67d0..bec5df23 100755 --- a/misc/buildsrc/dlls.sh +++ b/misc/buildsrc/dlls.sh @@ -291,6 +291,11 @@ install () { cp -v "$pkg_dir/bin/libjpeg-62.dll" "$out_dir/libjpeg.dll" cp -v "$pkg_dir/bin/libcurl.dll" "$out_dir/libcurl-4.dll" + # Required for win32 builds + if [ "$ARCH" = "i686" ]; then + cp -v "/usr/lib/gcc/i686-w64-mingw32/10-win32/libgcc_s_dw2-1.dll" "$out_dir" + fi + cd "$out_dir" ${CHOST}-strip -s *.dll }