Skip to content

Commit

Permalink
Get the right compiler DLL files for the Windows installer
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
stweil committed Nov 6, 2024
1 parent 4bd94c6 commit d2f311b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nsis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d2f311b

Please sign in to comment.