summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@openwide.fr>2013-11-23 18:46:25 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-24 10:31:12 (GMT)
commit46250ee126476821ef934a737f487ee49b33fd5a (patch)
tree5df837edff9b007b0c2c408e30fe128152658eff
parentf133e9b05fa2c511d476397cdcfd00c9ebe1ad60 (diff)
downloadbuildroot-46250ee126476821ef934a737f487ee49b33fd5a.tar.gz
buildroot-46250ee126476821ef934a737f487ee49b33fd5a.tar.bz2
nut: add libltdl dependency
libltdl is needed for nut-scanner Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-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 8cb8a01..25b88c4 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