aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2024-06-14 14:30:27 +0200
committerLoïc Hoguin <[email protected]>2024-06-14 14:30:27 +0200
commitdc646d300862839bfad48427282e231177182e80 (patch)
tree4571b1d4c7ee6f843686601ec01d1a5e587d784b
parent3ce5a264fd6cb80154ebf65413bfaa41ae8603fa (diff)
downloadesdl2-dc646d300862839bfad48427282e231177182e80.tar.gz
esdl2-dc646d300862839bfad48427282e231177182e80.tar.bz2
esdl2-dc646d300862839bfad48427282e231177182e80.zip
Use sdl2-config --libsHEADmaster
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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.