]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
DLL builds [win32]: allow newer versions of libgcc
authorbones_was_here <bones_was_here@xonotic.au>
Tue, 17 Oct 2023 05:01:27 +0000 (15:01 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Tue, 17 Oct 2023 05:13:34 +0000 (15:13 +1000)
misc/buildsrc/dlls.sh

index b57cb7f8170c1e464b341902d19a889948dabeed..697cd2538acdbd1bc7133b02f2a98de9d376634a 100755 (executable)
@@ -293,7 +293,7 @@ install () {
 
        # 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"
+               cp -v /usr/lib/gcc/i686-w64-mingw32/[0-9][0-9]-win32/libgcc_s_dw2-1.dll "$out_dir"
        fi
 
        cd "$out_dir"