From b6b849bfd75495987be74a7679c7964dbb159bf5 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 31 Jul 2007 16:16:18 +0000 Subject: Link the right objects against rc --- src/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Makefile b/src/Makefile index a4a1283f..c864ef16 100644 --- a/src/Makefile +++ b/src/Makefile @@ -30,9 +30,10 @@ LIBEINFOOBJS= libeinfo.o LIBRCSOVER = 0 LIBRCSO = librc.so.$(LIBRCSOVER) -LIBRCOBJS= librc.o librc-depend.o librc-daemon.o librc-misc.o librc-strlist.o \ - env-update.o fstabinfo.o mountinfo.o \ - rc-depend.o rc-status.o runscript.o start-stop-daemon.o +LIBRCOBJS = librc.o librc-depend.o librc-daemon.o librc-misc.o librc-strlist.o + +RCOBJS = env-update.o fstabinfo.o mountinfo.o \ + rc-depend.o rc-plugin.o rc-status.o runscript.o start-stop-daemon.o LIB_TARGETS = $(LIBEINFOSO) $(LIBRCSO) SBIN_TARGETS = rc @@ -122,7 +123,7 @@ rc-status: $(LIBEINFOSO) $(LIBRCSO) rc-status.o rc-update: $(LIBEINFOSO) $(LIBRCSO) rc-update.o rc: LDLIBS += $(LDLIBS_RC) -rc: $(LIBEINFOSO) $(LIBRCSO) rc-plugin.o rc.o +rc: $(LIBEINFOSO) $(LIBRCSO) $(RCOBJS) rc.o runscript: LDLIBS += $(LDLIBS_RS) runscript: $(LIBEINFOSO) $(LIBRCSO) rc-plugin.o runscript.o -- cgit v1.2.3