Added correct sdl2 flags using pkg-config

This commit is contained in:
Bob Polis 2023-02-13 11:19:45 +01:00
parent 63dd8c1e2b
commit 640db33807

View File

@ -1,4 +1,7 @@
LDLIBS := -lSDL2 -lSDL2_image
LDLIBS := -lSDL2_image
LDLIBS += $(shell pkg-config sdl2 --libs)
CXXFLAGS += $(shell pkg-config sdl2 --cflags)
MAJOR := 1
MINOR := 0