From d1c96bcab646749a587cdbdbf9fc207b9a297312 Mon Sep 17 00:00:00 2001
From: Ian Moffett <ian@osmora.org>
Date: Thu, 14 Mar 2024 21:59:20 -0400
Subject: build: Update usr.sbin Makefiles

Signed-off-by: Ian Moffett <ian@osmora.org>
---
 usr.sbin/init/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'usr.sbin/init/Makefile')

diff --git a/usr.sbin/init/Makefile b/usr.sbin/init/Makefile
index 4b578f8..fa65c8d 100644
--- a/usr.sbin/init/Makefile
+++ b/usr.sbin/init/Makefile
@@ -1,7 +1,8 @@
 CC =
 LD =
+LDSO =
 
 .PHONY: all
 all:
 	$(CC) -c main.c -o main.o;
-	$(LD) main.o -o init -e main
+	$(LD) --dynamic-linker /usr/lib/ld.so $(LDSO) main.o -o init -e main
-- 
cgit v1.2.3