diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 3 | ||||
-rw-r--r-- | src/Makefile.BSD | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile index 03b42971..7e83c511 100644 --- a/src/Makefile +++ b/src/Makefile @@ -58,6 +58,7 @@ LIBEINFOOBJS= libeinfo.o LIBRCSOVER = 0 LIBRCSO = librc.so.$(LIBRCSOVER) LIBRCOBJS = librc.o librc-depend.o librc-daemon.o librc-misc.o librc-strlist.o +LDLIBS_LIBRC = $(LIBEINFOSO) RCOBJS = env-update.o fstabinfo.o mountinfo.o \ rc-depend.o rc-plugin.o rc-status.o rc-update.o runscript.o \ @@ -107,7 +108,7 @@ $(LIBEINFOSO): $(LIBEINFOOBJS) $(LIBRCOBJS): $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -$(LIBRCSO): $(LIBRCOBJS) +$(LIBRCSO): $(LIBRCOBJS) $(LIBEINFOSO) $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,$(LIBRCSO) -o $(LIBRCSO) $(LDLIBS_LIBRC) $(LIBRCOBJS) ln -sf $(LIBRCSO) librc.so diff --git a/src/Makefile.BSD b/src/Makefile.BSD index 88f70225..ab5cec7c 100644 --- a/src/Makefile.BSD +++ b/src/Makefile.BSD @@ -1 +1 @@ -LDLIBS_LIBRC = -lkvm +LDLIBS_LIBRC += -lkvm |