From 9ddb2b1b47ad3f036c8f4fb9ac01b52d5d61d277 Mon Sep 17 00:00:00 2001 From: Will Angenent <will.angenent@gmail.com> Date: Sun, 2 Apr 2023 14:34:56 +0100 Subject: [PATCH] Fix symlinking on MacOS that doesn't have the -r option --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2ae295ed4..720d2b721 100644 --- a/Makefile +++ b/Makefile @@ -86,9 +86,9 @@ install-libs: libs mkdir -pv "$(DESTDIR)/lib" cp -v "$(BUILD)/release/libc.a" "$(DESTDIR)/lib" cp -v "$(BUILD)/release/libc.so" "$(DESTDIR)/lib" - ln -frsv "$(DESTDIR)/lib/libc.so" "$(DESTDIR)/lib/libc.so.6" + ln -vnfs libc.so "$(DESTDIR)/lib/libc.so.6" cp -v "$(BUILD)/release/crt0.o" "$(DESTDIR)/lib" - ln -frsv "$(DESTDIR)/lib/crt0.o" "$(DESTDIR)/lib/crt1.o" + ln -vnfs crt0.o "$(DESTDIR)/lib/crt1.o" cp -v "$(BUILD)/release/crti.o" "$(DESTDIR)/lib" cp -v "$(BUILD)/release/crtn.o" "$(DESTDIR)/lib" cp -v "$(BUILD)/release/ld_so" "$(DESTDIR)/lib/ld64.so.1" -- GitLab