[Buildroot] [PATCH] package/llvm: add dependency on shared libraries

Valentin Korenblit valentin.korenblit at smile.fr
Fri Apr 6 09:39:58 UTC 2018


llvm generates libLLVM.so, so it won't work if BR2_STATIC_LIBS is set

Signed-off-by: Valentin Korenblit <valentin.korenblit at smile.fr>
---
 package/llvm/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/llvm/Config.in b/package/llvm/Config.in
index 70f73f4858..d507acbef1 100644
--- a/package/llvm/Config.in
+++ b/package/llvm/Config.in
@@ -18,6 +18,7 @@ config BR2_PACKAGE_LLVM
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_STATIC_LIBS
 	help
 	  The LLVM Project is a collection of modular and reusable
 	  compiler and toolchain technologies.
-- 
2.14.3



More information about the buildroot mailing list