Fix building on Linux
This commit is contained in:
parent
b6b849bfd7
commit
cb172722a9
22
src/Makefile
22
src/Makefile
@ -110,28 +110,10 @@ $(LIBRCSO): $(LIBRCOBJS)
|
|||||||
$(CC) -fPIC -shared -Wl,-soname,$(LIBRCSO) -o $(LIBRCSO) $(LDLIBS_LIBRC) $(LIBRCOBJS)
|
$(CC) -fPIC -shared -Wl,-soname,$(LIBRCSO) -o $(LIBRCSO) $(LDLIBS_LIBRC) $(LIBRCOBJS)
|
||||||
ln -sf $(LIBRCSO) librc.so
|
ln -sf $(LIBRCSO) librc.so
|
||||||
|
|
||||||
env-update: $(LIBEINFOSO) $(LIBRCSO) env-update.o
|
rc: CPPFLAGS += $(CPPFLAGS_SSD)
|
||||||
|
rc: LDLIBS += $(LDLIBS_RC) $(LDLIBS_RS) $(LDLIBS_SSD)
|
||||||
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: $(LIBEINFOSO) $(LIBRCSO) $(RCOBJS) rc.o
|
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
|
links: rc
|
||||||
for x in $(BINLINKS) $(SBINLINKS) $(RCLINKS) $(RCPRIVLINKS); do ln -sf rc $$x; done
|
for x in $(BINLINKS) $(SBINLINKS) $(RCLINKS) $(RCPRIVLINKS); do ln -sf rc $$x; done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user