From 817fa9a975c7eb2e11e016bf4594404cecef8957 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Mon, 14 Oct 2024 00:21:09 +0200
Subject: [PATCH] releases: don't add static library to MinGW binary release
---
.github/workflows/release.yml | 4 ++--
build-scripts/release-info.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2ce85e5366a44..75cc27cbdc5af 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -473,7 +473,7 @@ jobs:
cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
-DCMAKE_BUILD_TYPE="Release" \
-DTEST_FULL=TRUE \
- -DTEST_STATIC=TRUE \
+ -DTEST_STATIC=FALSE \
-DTEST_TEST=TRUE \
-DCMAKE_PREFIX_PATH="${{ steps.bin.outputs.path }}" \
-DCMAKE_TOOLCHAIN_FILE="${{ steps.src.outputs.path }}/build-scripts/cmake-toolchain-mingw64-i686.cmake" \
@@ -486,7 +486,7 @@ jobs:
cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
-DCMAKE_BUILD_TYPE="Release" \
-DTEST_FULL=TRUE \
- -DTEST_STATIC=TRUE \
+ -DTEST_STATIC=false \
-DTEST_TEST=TRUE \
-DCMAKE_PREFIX_PATH="${{ steps.bin.outputs.path }}" \
-DCMAKE_TOOLCHAIN_FILE="${{ steps.src.outputs.path }}/build-scripts/cmake-toolchain-mingw64-x86_64.cmake" \
diff --git a/build-scripts/release-info.json b/build-scripts/release-info.json
index 9c14b47e3d159..b47c3d2ba6aef 100644
--- a/build-scripts/release-info.json
+++ b/build-scripts/release-info.json
@@ -34,7 +34,7 @@
"archs": ["x86", "x64"],
"args": [
"-DSDL_SHARED=ON",
- "-DSDL_STATIC=ON",
+ "-DSDL_STATIC=OFF",
"-DSDL_DISABLE_INSTALL_DOCS=ON",
"-DSDL_TEST_LIBRARY=ON",
"-DSDL_VENDOR_INFO=libsdl.org",