From: Romain Naour Date: Sat, 23 Nov 2013 18:46:25 +0000 (+0100) Subject: nut: add libltdl dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=46250ee126476821ef934a737f487ee49b33fd5a;p=buildroot.git nut: add libltdl dependency libltdl is needed for nut-scanner Signed-off-by: Romain Naour Signed-off-by: Peter Korsgaard --- 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