From 9212845ef2d67ae04a4805f31950b9e27148d8f0 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Tue, 17 Dec 2024 11:39:54 +0100
Subject: [PATCH] Add workaround for broken SDL2 2.30.10 MinGW release
[ci skip]
---
build-scripts/release-info.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/build-scripts/release-info.json b/build-scripts/release-info.json
index 9b666f9f..7b9a6f33 100644
--- a/build-scripts/release-info.json
+++ b/build-scripts/release-info.json
@@ -40,8 +40,8 @@
"archs": ["x86", "x64"],
"args": [
"--with-sdl-prefix=@<@DEP_PREFIX@>@",
- "CFLAGS=-O2",
- "LDFLAGS=-Wl,-s"
+ "CFLAGS=-O2 -I@<@DEP_PREFIX@>@/include -I@<@DEP_PREFIX@>@/include/SDL2",
+ "LDFLAGS=-Wl,-s -L@<@DEP_PREFIX@>@/lib -lSDL2"
]
},
"files": {