Ver código fonte

espeak: disable for static-only builds

The Makefile wants to unconditionally build a shared library, and
since it's probably not a package that relevant in static-only
scenarios, let's simply disable it.

Fixes:

  http://autobuild.buildroot.org/results/b84/b84f56cdc22f333b95e0894084a800be53aefd26/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thomas Petazzoni 10 anos atrás
pai
commit
f66004ded7
1 arquivos alterados com 4 adições e 2 exclusões
  1. 4 2
      package/espeak/Config.in

+ 4 - 2
package/espeak/Config.in

@@ -1,5 +1,5 @@
-comment "espeak needs a toolchain w/ C++, wchar, threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+comment "espeak needs a toolchain w/ C++, wchar, threads, dynamic library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || BR2_STATIC_LIBS
 	depends on BR2_USE_MMU
 
 config BR2_PACKAGE_ESPEAK
@@ -8,6 +8,8 @@ config BR2_PACKAGE_ESPEAK
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU # fork()
+	# does not properly support building only a static version
+	depends on !BR2_STATIC_LIBS
 	help
 	  espeak is a speech synthesizer software for English and
 	  other languages.