diff --git a/dev_scripts/ubuntu_build_x86_86-w64-mingw32-gcc.sh b/dev_scripts/ubuntu_build_x86_86-w64-mingw32-gcc.sh index 3e922417..0c05eff2 100755 --- a/dev_scripts/ubuntu_build_x86_86-w64-mingw32-gcc.sh +++ b/dev_scripts/ubuntu_build_x86_86-w64-mingw32-gcc.sh @@ -293,6 +293,7 @@ build_winpthreads() { copy_dlls() { echo "Copying dll's to src-tauri/" cp -f $PREFIX/x86_64-w64-mingw32/lib/{libstdc++-6,libgcc_s_seh-1}.dll $SRC_TAURI_DIR/ + cp -f $PREFIX/x86_64-w64-mingw32/bin/libwinpthread-1.dll $SRC_TAURI_DIR/ } setup_path() { @@ -349,7 +350,7 @@ verify_installation() { # Check DLLs in src-tauri directory local missing_dlls=() - for dll in libstdc++-6.dll libgcc_s_seh-1.dll; do + for dll in libstdc++-6.dll libgcc_s_seh-1.dll libwinpthread-1.dll; do if [ ! -f "$SRC_TAURI_DIR/$dll" ]; then missing_dlls+=("$dll") fi diff --git a/src-tauri/tauri.windows.conf.json b/src-tauri/tauri.windows.conf.json index a1c9a1a3..9ecc296e 100644 --- a/src-tauri/tauri.windows.conf.json +++ b/src-tauri/tauri.windows.conf.json @@ -1,5 +1,9 @@ { "bundle": { - "resources": ["libstdc++-6.dll", "libgcc_s_seh-1.dll"] + "resources": [ + "libstdc++-6.dll", + "libgcc_s_seh-1.dll", + "libwinpthread-1.dll" + ] } }