aboutsummaryrefslogtreecommitdiff
path: root/mk/os-Linux.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/os-Linux.mk')
-rw-r--r--mk/os-Linux.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/mk/os-Linux.mk b/mk/os-Linux.mk
index e83f8616..00521c80 100644
--- a/mk/os-Linux.mk
+++ b/mk/os-Linux.mk
@@ -27,6 +27,12 @@ endif
endif
+ifeq (${MKCAP},yes)
+CPPFLAGS+= -DHAVE_CAP
+LIBCAP?= -lcap
+LDADD += $(LIBCAP)
+endif
+
ifeq (${MKAUDIT},yes)
LIBAUDIT?= -laudit
CPPFLAGS+= -DHAVE_AUDIT