From fafc0532eb7101e4c9b700dba5db6701914fed4c Mon Sep 17 00:00:00 2001 From: "J.Ingram" <26800139+GirianSeed@users.noreply.github.com> Date: Fri, 13 Jun 2025 20:06:33 -0400 Subject: [PATCH] Correct L_FLAGS_SOKOL for MSYS2 libdl and libasound don't exist on Windows. The Sokol build needs gdi32 and ole32 to successfully link. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ddb07cd..7990445 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ else ifeq ($(shell uname -o), Msys) C_FLAGS := $(C_FLAGS) -DSDL_MAIN_HANDLED -D__MSYS__ L_FLAGS_SDL := $(shell sdl2-config --libs) - L_FLAGS_SOKOL = --pthread -ldl -lasound + L_FLAGS_SOKOL = --pthread -lgdi32 -lole32 # Windows NON-MSYS ---------------------------------------------------------------