summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/udisks/udisks.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/udisks/udisks.mk b/package/udisks/udisks.mk
index 28855dd003..08e942ae19 100644
--- a/package/udisks/udisks.mk
+++ b/package/udisks/udisks.mk
@@ -20,7 +20,8 @@ UDISKS_DEPENDENCIES = \
lvm2 \
libatasmart
-UDISKS_CONF_OPT = --disable-remote-access
+UDISKS_CONF_OPT = --disable-remote-access \
+ $(if $(BR2_HAVE_DOCUMENTATION),,--disable-man-pages)
ifeq ($(BR2_PACKAGE_UDISKS_LVM2),y)
UDISKS_CONF_OPT += --enable-lvm2
OpenPOWER on IntegriCloud