espeak: disable for static-only builds
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 6 Apr 2015 10:07:37 +0000 (12:07 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 6 Apr 2015 10:07:37 +0000 (12:07 +0200)
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>
package/espeak/Config.in

index 4bb8d4a95cbe56c066076326f3acb401bfd406e5..94e281663cc02396f675c842380fec8fb7159c99 100644 (file)
@@ -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.