From 1f95ea1b6dc4aabbe07df4f718001e797562266a Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 7 Dec 2019 23:02:59 +0100 Subject: [PATCH] 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. --- Ports/nesalizer/patches/Makefile-fix.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ports/nesalizer/patches/Makefile-fix.patch b/Ports/nesalizer/patches/Makefile-fix.patch index ba1e80b0a3..b6812f6793 100644 --- a/Ports/nesalizer/patches/Makefile-fix.patch +++ b/Ports/nesalizer/patches/Makefile-fix.patch @@ -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