From c759f2f9b70cec2775102abb8455135150ec7b41 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 25 Apr 2024 21:55:57 -0400 Subject: [PATCH] Add libwinpthread dependency required by gcrypt --- .github/workflows/main.yml | 3 +++ scripts/windows-setup.ps1 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3138b6a..f957eab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -88,6 +88,9 @@ jobs: Invoke-WebRequest https://xiv.zone/distrib/dependencies/icoutils.zip -OutFile icoutils.zip unzip icoutils.zip -d ${{ steps.strings.outputs.prefix-dir }} + Invoke-WebRequest https://xiv.zone/distrib/dependencies/libwinpthread.zip -OutFile libwinpthread.zip + unzip libwinpthread.zip -d ${{ steps.strings.outputs.prefix-dir }} + - name: Build zlib if: (runner.os == 'Windows') && (steps.cache-prefix-restore.outputs.cache-hit != 'true') run: | diff --git a/scripts/windows-setup.ps1 b/scripts/windows-setup.ps1 index 4b9147f..45784c8 100644 --- a/scripts/windows-setup.ps1 +++ b/scripts/windows-setup.ps1 @@ -57,6 +57,9 @@ Expand-Archive -Path "$LocalDir/gcrypt.zip" -DestinationPath $PrefixDir -Force Invoke-WebRequest https://xiv.zone/distrib/dependencies/gpg-error.zip -OutFile "$LocalDir/gpg-error.zip" Expand-Archive -Path "$LocalDir/gpg-error.zip" -DestinationPath $PrefixDir -Force +Invoke-WebRequest https://xiv.zone/distrib/dependencies/libwinpthread.zip -OutFile "$LocalDir/libwinpthread.zip" +Expand-Archive -Path "$LocalDir/libwinpthread.zip" -DestinationPath $PrefixDir -Force + # Build zlib Clone "zlib" "https://github.com/madler/zlib.git" Configure "zlib" "-DBUILD_TESTING=OFF"