From 612064178138289a4e5120518abdd338fbff29c7 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sat, 24 Aug 2024 11:21:34 -0700 Subject: [PATCH] Makefile: Mac-compatible rpath flag Mac's `ld` doesn't support an `=` between `-rpath` and the argument. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7cd233a..f570727 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ CXXFLAGS = $(CFLAGS) -std=c++14 ASFLAGS := $(ARCH) LDFLAGS := `pkg-config --libs sdl2` \ - -Wl,-rpath=. + -Wl,-rpath . ifeq ($(DEBUG),1) CFLAGS += -O0 -g