mirror of
https://github.com/izzy2lost/wipeout-rewrite.git
synced 2026-07-06 00:20:05 -07:00
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:
@@ -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 ---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user