From 640db3380765cce9a8e1ab970f000525d0dddb35 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Mon, 13 Feb 2023 11:19:45 +0100 Subject: [PATCH] Added correct sdl2 flags using pkg-config --- premake.make | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/premake.make b/premake.make index f063251..b48dcda 100644 --- a/premake.make +++ b/premake.make @@ -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