fix tauri missing libwinpthread-1.dll

This commit is contained in:
einliterflasche 2025-09-19 02:48:43 +02:00
parent 36c1c3a28b
commit 4c4335a50e
No known key found for this signature in database
GPG key ID: 90676A9B07184BC9
2 changed files with 7 additions and 2 deletions

View file

@ -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