diff mbox

[1/1] nut: add libltdl dependency

Message ID 1385232385-8527-1-git-send-email-romain.naour@openwide.fr
State Accepted
Commit 46250ee126476821ef934a737f487ee49b33fd5a
Headers show

Commit Message

Romain Naour Nov. 23, 2013, 6:46 p.m. UTC
libltdl is needed for nut-scanner

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
 package/nut/nut.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Peter Korsgaard Nov. 24, 2013, 11:31 a.m. UTC | #1
>>>>> "Romain" == Romain Naour <romain.naour@openwide.fr> writes:

 > libltdl is needed for nut-scanner
 > Signed-off-by: Romain Naour <romain.naour@openwide.fr>

Committed, thanks.

Do you think this fixes:

http://autobuild.buildroot.net/results/7e4/7e4e369dc5640619e95983ad0b4571f3a3f0d84b/build-end.log

Or is that another problem?
Yann E. MORIN Nov. 24, 2013, 12:05 p.m. UTC | #2
Peter, All,

On 2013-11-24 12:31 +0100, Peter Korsgaard spake thusly:
> >>>>> "Romain" == Romain Naour <romain.naour@openwide.fr> writes:
> 
>  > libltdl is needed for nut-scanner
>  > Signed-off-by: Romain Naour <romain.naour@openwide.fr>
> 
> Committed, thanks.
> 
> Do you think this fixes:
> 
> http://autobuild.buildroot.net/results/7e4/7e4e369dc5640619e95983ad0b4571f3a3f0d84b/build-end.log
> 
> Or is that another problem?

Neither Romain nor I were able to reproduce this build failure (without
Romain's chage, that is).

Regards,
Yann E. MORIN.
Peter Korsgaard Nov. 24, 2013, 1:04 p.m. UTC | #3
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 >> Do you think this fixes:
 >> 
 >> http://autobuild.buildroot.net/results/7e4/7e4e369dc5640619e95983ad0b4571f3a3f0d84b/build-end.log
 >> 
 >> Or is that another problem?

 > Neither Romain nor I were able to reproduce this build failure
 > (without Romain's chage, that is).

Thanks. I tried as well here, without any luck. Lets see if it occours
again before spending any more time on it.
diff mbox

Patch

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