--- src/modules/sdl2/Makefile.orig 2021-04-14 02:06:13.000000000 +0800 +++ src/modules/sdl2/Makefile 2024-05-29 06:16:29.000000000 +0800 @@ -14,8 +14,7 @@ consumer_sdl2_audio.o ifeq ($(targetos),Darwin) -CFLAGS += -ObjC -LDFLAGS += -lobjc -framework Foundation +LDFLAGS += -lX11 -framework Foundation else ifneq ($(targetos), MinGW) LDFLAGS += -lX11 endif