mirror of
https://github.com/troglobit/finit.git
synced 2026-10-20 11:19:35 +00:00
sd-daemon.c: fix a compilation error
A following compilation error was observed: | libsystemd/sd-daemon.c:64: undefined reference to `strlcpy' fix it by include the required libite dependency. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
This commit is contained in:
1 parent
a73e02afac
commit
de4be1557b
3 files changed
+10
-2
No files matched your search
@@ -3,6 +3,7 @@ noinst_PROGRAMS = serv
|
||||
serv_SOURCES = serv.c
|
||||
serv_CPPFLAGS = -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -I$(top_builddir)
|
||||
if LIBSYSTEMD
|
||||
serv_CPPFLAGS += -I$(top_srcdir)/libsystemd
|
||||
serv_CPPFLAGS += -I$(top_srcdir)/libsystemd $(lite_CFLAGS)
|
||||
serv_SOURCES += $(top_srcdir)/libsystemd/sd-daemon.c
|
||||
serv_LDADD = $(lite_LIBS)
|
||||
endif
|
||||
Reference in new issue
Block a user