From bc6b031f2e4bfe7a424f1dae241e4eb77b0992f8 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 10 Sep 2007 21:26:13 +0000 Subject: librc should link against libeinfo too --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Makefile') 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 -- cgit v1.2.3