From 76054ad167a065fc097db24c24cfabe2c466ed30 Mon Sep 17 00:00:00 2001 From: Quinton Miller Date: Tue, 5 Nov 2024 18:55:55 +0800 Subject: [PATCH] Do not link against `DbgHelp` for MinGW-w64 build --- .github/workflows/mingw-w64.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mingw-w64.yml b/.github/workflows/mingw-w64.yml index 10841a325bf5..3f8172e9a575 100644 --- a/.github/workflows/mingw-w64.yml +++ b/.github/workflows/mingw-w64.yml @@ -83,7 +83,7 @@ jobs: cc crystal.obj -o bin/crystal.exe \ $(pkg-config bdw-gc libpcre2-8 iconv zlib libffi --libs) \ $(llvm-config --libs --system-libs --ldflags) \ - -lDbgHelp -lole32 -lWS2_32 -Wl,--stack,0x800000 + -lole32 -lWS2_32 -Wl,--stack,0x800000 ldd bin/crystal.exe | grep -iv /c/windows/system32 | sed 's/.* => //; s/ (.*//' | xargs -t -i cp '{}' bin/ - name: Upload Crystal