Correct L_FLAGS_SOKOL for MSYS2

libdl and libasound don't exist on Windows. The Sokol build needs gdi32 and ole32 to successfully link.
This commit is contained in:
J.Ingram
2025-06-13 20:06:33 -04:00
parent 97f9f5e11d
commit fafc0532eb
+1 -1
View File
@@ -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 ---------------------------------------------------------------