summaryrefslogtreecommitdiff
path: root/Ports/nesalizer/patches
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-12-07 23:02:59 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-12-07 23:02:59 +0100
commit1f95ea1b6dc4aabbe07df4f718001e797562266a (patch)
treeed068ccfa02ce93e6fd72e407148db02bfd7d1ac /Ports/nesalizer/patches
parentcd55f767270b3effa70f02d806c5525925bd58d8 (diff)
downloadserenity-1f95ea1b6dc4aabbe07df4f718001e797562266a.zip
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.
Diffstat (limited to 'Ports/nesalizer/patches')
-rw-r--r--Ports/nesalizer/patches/Makefile-fix.patch2
1 files changed, 1 insertions, 1 deletions
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