From ba8119236f9296290e33f366d752932e322e3599 Mon Sep 17 00:00:00 2001 From: Matti Picus Date: Tue, 6 Aug 2024 18:09:00 +0300 Subject: [PATCH] add link flag --- .github/workflows/windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 88051fb..4330db2 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -45,13 +45,13 @@ jobs: echo "PLAT=i686" >> $env:GITHUB_ENV echo "WHEEL_PLAT=win32" >> $env:GITHUB_ENV echo "MSYSTEM=MINGW32" >> $env:GITHUB_ENV - echo "LDFLAGS=-static -static-libgcc" >> $env:GITHUB_ENV + echo "LDFLAGS=-static -static-libgcc -Wl,--defsym,quadmath_snprintf=snprintf" >> $env:GITHUB_ENV echo "BUILD_BITS=32" >> $env:GITHUB_ENV } else { echo "PLAT=x86_64" >> $env:GITHUB_ENV echo "WHEEL_PLAT=win_amd64" >> $env:GITHUB_ENV echo "MSYSTEM=UCRT64" >> $env:GITHUB_ENV - echo "LDFLAGS=-lucrt -static -static-libgcc" >> $env:GITHUB_ENV + echo "LDFLAGS=-lucrt -static -static-libgcc -Wl,--defsym,quadmath_snprintf=snprintf" >> $env:GITHUB_ENV echo "BUILD_BITS=64" >> $env:GITHUB_ENV } if ( ${{ matrix.INTERFACE64 }} -eq "1" ) {