aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-10-16 21:35:05 +0200
committerLoïc Hoguin <[email protected]>2015-10-16 21:35:05 +0200
commitc9760250b4c22b1c842421c087a17534c72cbeeb (patch)
tree91da388465969158be3ea2df0fa6392d35e13278
parent4ae5110f3f1da34fb1d0c0ce19ce5fa1d89afdfb (diff)
downloadesdl2-c9760250b4c22b1c842421c087a17534c72cbeeb.tar.gz
esdl2-c9760250b4c22b1c842421c087a17534c72cbeeb.tar.bz2
esdl2-c9760250b4c22b1c842421c087a17534c72cbeeb.zip
LDFLAGS should be LDLIBS
-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