From d2f311bf7c349e6f4a998e7bfa8c1f47e48cc599 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 6 Nov 2024 18:04:48 +0100 Subject: [PATCH] Get the right compiler DLL files for the Windows installer libstdc++-6.dll and libgcc_s_seh-1.dll must be taken from the compiler directory, not from the pacman DLLs. Signed-off-by: Stefan Weil --- nsis/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nsis/build.sh b/nsis/build.sh index 2815cf24..49245a1b 100755 --- a/nsis/build.sh +++ b/nsis/build.sh @@ -103,6 +103,8 @@ source venv/bin/activate pip install pefile mkdir -p dll ln -sv $("$ROOTDIR/nsis/find_deps.py" "$MINGW_INSTALL"/bin/*.exe "$MINGW_INSTALL"/bin/*.dll) dll/ +ln -svf /usr/lib/gcc/x86_64-w64-mingw32/*-win32/libstdc++-6.dll dll/ +ln -svf /usr/lib/gcc/x86_64-w64-mingw32/*-win32/libgcc_s_seh-1.dll dll/ make winsetup prefix="$MINGW_INSTALL" # Copy result for upload.