summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/Makemodule.am4
-rw-r--r--cmd/runsvc/runsvc.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/cmd/Makemodule.am b/cmd/Makemodule.am
index 83d6174..f92610c 100644
--- a/cmd/Makemodule.am
+++ b/cmd/Makemodule.am
@@ -14,7 +14,7 @@ runsvc_SOURCES = cmd/runsvc/runsvc.c cmd/runsvc/env.c cmd/runsvc/runsvc.h
runsvc_CPPFLAGS = $(AM_CPPFLAGS)
runsvc_CFLAGS = $(AM_CFLAGS)
runsvc_LDFLAGS = $(AM_LDFLAGS)
-runsvc_LDADD = libinit.a
+runsvc_LDADD = libinit.a libcfg.a
killall5_SOURCES = cmd/killall5.c
killall5_CPPFLAGS = $(AM_CPPFLAGS)
@@ -30,7 +30,7 @@ service_SOURCES += $(SRVHEADERS)
service_CPPFLAGS = $(AM_CPPFLAGS)
service_CFLAGS = $(AM_CFLAGS)
service_LDFLAGS = $(AM_LDFLAGS)
-service_LDADD = libinit.a
+service_LDADD = libinit.a libcfg.a
EXTRA_DIST += $(SRVHEADERS)
diff --git a/cmd/runsvc/runsvc.h b/cmd/runsvc/runsvc.h
index 15785d3..7061eca 100644
--- a/cmd/runsvc/runsvc.h
+++ b/cmd/runsvc/runsvc.h
@@ -27,6 +27,7 @@
#include <fcntl.h>
#include "service.h"
+#include "libcfg.h"
#include "util.h"
#define ENVFILE ETCPATH "/initd.env"