nut: add libltdl dependency
authorRomain Naour <romain.naour@openwide.fr>
Sat, 23 Nov 2013 18:46:25 +0000 (19:46 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 24 Nov 2013 10:31:12 +0000 (11:31 +0100)
libltdl is needed for nut-scanner

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/nut/nut.mk

index 8cb8a019ea9cbf5d288fe47a8dbabd2b382e9b4b..25b88c4123ebd676b0614999a423b5828b3a59a2 100644 (file)
@@ -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