From dc646d300862839bfad48427282e231177182e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Fri, 14 Jun 2024 14:30:27 +0200 Subject: Use sdl2-config --libs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3c1595a..0c89d88 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ include erlang.mk SDL2_CFLAGS = $(shell sdl2-config --cflags) CFLAGS += $(SDL2_CFLAGS) # @todo -undefined dynamic_lookup on OSX? -LDLIBS += -lSDL2 -lSDL2_image -lSDL2_ttf +LDLIBS += $(shell sdl2-config --libs) -lSDL2_image -lSDL2_ttf # Clean the environment before each CI builds. -- cgit v1.2.3