summaryrefslogtreecommitdiff
path: root/usr.sbin/init
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/init')
-rw-r--r--usr.sbin/init/Makefile3
1 files changed, 2 insertions, 1 deletions
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