summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 2bb1f02f88..43d1d3ce10 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -903,9 +903,13 @@ nodist_libsystemd_shared_la_SOURCES = \
libsystemd_shared_la_CFLAGS = \
$(AM_CFLAGS) \
+ $(CAP_CFLAGS) \
$(SECCOMP_CFLAGS) \
-pthread
+libsystemd_shared_la_LIBADD = \
+ $(CAP_LIBS)
+
# ------------------------------------------------------------------------------
noinst_LTLIBRARIES += \
libsystemd-units.la