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>
This commit is contained in:
Romain Naour 2013-11-23 19:46:25 +01:00 committed by Peter Korsgaard
parent f133e9b05f
commit 46250ee126

View 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