summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Charpentier <laurent_pubs@yahoo.com>2018-01-29 13:45:30 +0100
committerPeter Korsgaard <peter@korsgaard.com>2018-01-29 14:38:21 +0100
commitbd46df68085c2bfdfcf2c04d77da6d31114b11be (patch)
tree66c024fff5b808e6b92e5928432615f79aa754c1
parente2b85b48097b2ff2785644b3c43521cb04a733a8 (diff)
downloadbuildroot-bd46df68085c2bfdfcf2c04d77da6d31114b11be.tar.gz
buildroot-bd46df68085c2bfdfcf2c04d77da6d31114b11be.zip
open-lldp: requires dynamic linking interface (dlopen, ...)
Fixes: http://autobuild.buildroot.net/results/516456c8e21759e1ecee4ef9f9689a8f720ecd90/ 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 Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/open-lldp/Config.in5
1 files 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
OpenPOWER on IntegriCloud