Ports: Make nesalizer build look in the $SERENITY_ROOT/Root for SDL

It would be nice if we could get ports to stop detecting things in
the host system. Then we wouldn't need this kind of hackery as much.
This commit is contained in:
Andreas Kling 2019-12-07 23:02:59 +01:00
parent cd55f76727
commit 1f95ea1b6d

View file

@ -5,7 +5,7 @@
deps = $(addprefix $(BUILD_DIR)/,$(c_sources:=.d) $(cpp_sources:=.d))
-LDLIBS := $(shell sdl2-config --libs) -lrt
+LDLIBS := -lSDL2 -lgui -lipc -ldraw -lcore -lpthread
+LDLIBS := -L$(SERENITY_ROOT)/Root/lib -lSDL2 -lgui -lipc -ldraw -lcore -lpthread
ifeq ($(INCLUDE_DEBUGGER),1)
LDLIBS += -lreadline