From 0940499b26da05a992188f7e9599c36decc473dc Mon Sep 17 00:00:00 2001 From: z411 Date: Fri, 25 Feb 2022 20:25:12 -0300 Subject: [PATCH] Added copy of required DLL for win32 builds --- misc/buildsrc/dlls.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 } -- 2.39.2