summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/nut/nut.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/nut/nut.mk b/package/nut/nut.mk
index 8cb8a019ea..25b88c4123 100644
--- a/package/nut/nut.mk
+++ b/package/nut/nut.mk
@@ -48,6 +48,14 @@ else
NUT_CONF_OPT += --without-cgi
endif
+# libltdl (libtool) is needed for nut-scanner
+ifeq ($(BR2_PACKAGE_LIBTOOL),y)
+NUT_DEPENDENCIES += libtool
+NUT_CONF_OPT += --with-libltdl
+else
+NUT_CONF_OPT += --without-libltdl
+endif
+
ifeq ($(BR2_PACKAGE_LIBUSB_COMPAT),y)
NUT_DEPENDENCIES += libusb-compat
NUT_CONF_OPT += --with-usb
OpenPOWER on IntegriCloud