Преглед изворни кода

libuecc: not available in static builds

Fixes:
http://autobuild.buildroot.net/results/c0d/c0d91fc0fa28fda0ffd1c9a236bde5435222bcc0/

Unconditionally builds a shared library.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard пре 9 година
родитељ
комит
aadf19c9c3
2 измењених фајлова са 8 додато и 2 уклоњено
  1. 4 2
      package/fastd/Config.in
  2. 4 0
      package/libuecc/Config.in

+ 4 - 2
package/fastd/Config.in

@@ -3,6 +3,7 @@ config BR2_PACKAGE_FASTD
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap
+	depends on !BR2_STATIC_LIBS # libuecc
 	select BR2_PACKAGE_LIBUECC
 	select BR2_PACKAGE_LIBSODIUM
 	select BR2_PACKAGE_LIBCAP
@@ -22,7 +23,8 @@ config BR2_PACKAGE_FASTD_STATUS_SOCKET
 
 endif
 
-comment "fastd needs a toolchain w/ threads, headers >= 3.0"
+comment "fastd needs a toolchain w/ threads, headers >= 3.0, dynamic library"
 	depends on BR2_USE_MMU
 	depends on !BR2_TOOLCHAIN_HAS_THREADS \
-		|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+		|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
+		|| BR2_STATIC_LIBS

+ 4 - 0
package/libuecc/Config.in

@@ -1,6 +1,10 @@
 config BR2_PACKAGE_LIBUECC
 	bool "libuecc"
+	depends on !BR2_STATIC_LIBS
 	help
 	  Very small Elliptic Curve Cryptography library
 
 	  http://git.universe-factory.net/libuecc
+
+comment "libuecc needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS