From 2c87f83adc16f08df1b060fea995c40a7f25419e Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Fri, 25 May 2018 21:39:20 -0700 Subject: [PATCH] build: add LIBSYSTEMD_LIBS to link line For the regular Clear Linux build, the -lsystemd option was not needed at link time due to -Wl,--copy-dt-needed-entries being used. Without that option though, the linking of clr_debug_daemon will fail. Signed-off-by: Patrick McCarty --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index eefbc1a..5e7f11e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -40,7 +40,7 @@ clr_debug_prepare_SOURCES = src/prepare.c clr_debug_fuse_LDADD = ${fuse_LIBS} libnica.la -clr_debug_daemon_LDADD = ${curl_LIBS} libnica.la +clr_debug_daemon_LDADD = ${curl_LIBS} libnica.la ${LIBSYSTEMD_LIBS} clr_debug_prepare_LDADD = libnica.la systemdsystemunit_DATA = clr_debug_fuse.service clr_debug_daemon.service clr_debug_daemon.socket