librc should link against libeinfo too
This commit is contained in:
parent
2aac9fa464
commit
bc6b031f2e
@ -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
|
||||
|
||||
|
@ -1 +1 @@
|
||||
LDLIBS_LIBRC = -lkvm
|
||||
LDLIBS_LIBRC += -lkvm
|
||||
|
Loading…
Reference in New Issue
Block a user