All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] open-lldp: requires dynamic linking interface (dlopen, ...)
@ 2018-01-29 12:45 Laurent Charpentier
  2018-01-29 13:39 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Charpentier @ 2018-01-29 12:45 UTC (permalink / raw)
  To: buildroot

This patch is to fix the following build error:
weak_readline.c:30:19: fatal error: dlfcn.h: No such file or directory
 #include <dlfcn.h>
                   ^
compilation terminated.
Makefile:890: recipe for target 'weak_readline.o' failed

http://autobuild.buildroot.net/results/516456c8e21759e1ecee4ef9f9689a8f720ecd90/build-end.log

Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com>
---
 package/open-lldp/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/open-lldp/Config.in b/package/open-lldp/Config.in
index d54cf181d3..b40bff8996 100644
--- a/package/open-lldp/Config.in
+++ b/package/open-lldp/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_OPEN_LLDP
 	bool "open-lldp"
+	depends on !BR2_STATIC_LIBS # dlfcn.h
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
 	select BR2_PACKAGE_LIBCONFIG
 	select BR2_PACKAGE_LIBNL
@@ -11,5 +12,5 @@ config BR2_PACKAGE_OPEN_LLDP
 
 	  http://open-lldp.org/
 
-comment "open-lldp needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "open-lldp needs a toolchain w/ dynamic library, threads"
+	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] open-lldp: requires dynamic linking interface (dlopen, ...)
  2018-01-29 12:45 [Buildroot] [PATCH 1/1] open-lldp: requires dynamic linking interface (dlopen, ...) Laurent Charpentier
@ 2018-01-29 13:39 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2018-01-29 13:39 UTC (permalink / raw)
  To: buildroot

>>>>> "Laurent" == Laurent Charpentier <laurent_pubs@yahoo.com> writes:

 > This patch is to fix the following build error:
 > weak_readline.c:30:19: fatal error: dlfcn.h: No such file or directory
 >  #include <dlfcn.h>
 >                    ^
 > compilation terminated.
 > Makefile:890: recipe for target 'weak_readline.o' failed

 > http://autobuild.buildroot.net/results/516456c8e21759e1ecee4ef9f9689a8f720ecd90/build-end.log

 > Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-29 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 12:45 [Buildroot] [PATCH 1/1] open-lldp: requires dynamic linking interface (dlopen, ...) Laurent Charpentier
2018-01-29 13:39 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.