summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/tor/tor.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/tor/tor.mk b/package/tor/tor.mk
index 6a622cf0ef..a3249092ca 100644
--- a/package/tor/tor.mk
+++ b/package/tor/tor.mk
@@ -26,6 +26,10 @@ TOR_CONF_OPTS += \
--enable-static-zlib
endif
+ifeq ($(BR2_PACKAGE_LIBCAP),y)
+TOR_DEPENDENCIES += libcap
+endif
+
ifeq ($(BR2_arm)$(BR2_armeb)$(BR2_i386)$(BR2_x86_64)$(BR2_PACKAGE_LIBSECCOMP),yy)
TOR_CONF_OPTS += --enable-seccomp
TOR_DEPENDENCIES += libseccomp
OpenPOWER on IntegriCloud