From cb172722a985dcd3d7ec4bb69622daf84ff4793d Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 31 Jul 2007 16:35:24 +0000 Subject: Fix building on Linux --- src/Makefile | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/src/Makefile b/src/Makefile index c864ef16..84080d85 100644 --- a/src/Makefile +++ b/src/Makefile @@ -110,28 +110,10 @@ $(LIBRCSO): $(LIBRCOBJS) $(CC) -fPIC -shared -Wl,-soname,$(LIBRCSO) -o $(LIBRCSO) $(LDLIBS_LIBRC) $(LIBRCOBJS) ln -sf $(LIBRCSO) librc.so -env-update: $(LIBEINFOSO) $(LIBRCSO) env-update.o - -fstabinfo: $(LIBEINFOSO) fstabinfo.o - -mountinfo: $(LIBEINFOSO) $(LIBRCSO) mountinfo.o - -rc-depend: $(LIBEINFOSO) $(LIBRCSO) rc-depend.o - -rc-status: $(LIBEINFOSO) $(LIBRCSO) rc-status.o - -rc-update: $(LIBEINFOSO) $(LIBRCSO) rc-update.o - -rc: LDLIBS += $(LDLIBS_RC) +rc: CPPFLAGS += $(CPPFLAGS_SSD) +rc: LDLIBS += $(LDLIBS_RC) $(LDLIBS_RS) $(LDLIBS_SSD) rc: $(LIBEINFOSO) $(LIBRCSO) $(RCOBJS) rc.o -runscript: LDLIBS += $(LDLIBS_RS) -runscript: $(LIBEINFOSO) $(LIBRCSO) rc-plugin.o runscript.o - -start-stop-daemon: CPPFLAGS += $(CPPFLAGS_SSD) -start-stop-daemon: LDLIBS += $(LDLIBS_SSD) -start-stop-daemon: $(LIBEINFOSO) $(LIBRCSO) start-stop-daemon.o - links: rc for x in $(BINLINKS) $(SBINLINKS) $(RCLINKS) $(RCPRIVLINKS); do ln -sf rc $$x; done -- cgit v1.2.3