Added correct sdl2 flags using pkg-config
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user