aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f93f307..143925a 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,8 @@ SDL2_LIBS_FILTER_OUT = -Wl,--no-undefined
SDL2_LIBS = $(filter-out $(SDL2_LIBS_FILTER_OUT),$(shell sdl2-config --static-libs))
CFLAGS += $(shell sdl2-config --cflags)
-LDFLAGS += $(SDL2_LIBS) -lSDL2_image
+# @todo -undefined dynamic_lookup on OSX?
+LDLIBS += $(SDL2_LIBS) -lSDL2_image
include erlang.mk