chiark / gitweb /
build-sys: add libcap to libsystemd-shared
[elogind.git] / Makefile.am
index 2bb1f02f884b734f5689fbb1904d6e7c9e40654a..43d1d3ce102bdfd0f4d222720346e65055a105e5 100644 (file)
@@ -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