micropython: needs dynamic library
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Oct 2015 16:52:11 +0000 (17:52 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Oct 2015 16:52:11 +0000 (17:52 +0100)
Fixes:

   http://autobuild.buildroot.org/results/06f/06fc79dad3d4c0c5f997f4c2e4b52014727764ac/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/micropython/Config.in

index dae41b702ed6d576bc3312080e70c1f42525b69d..ed65d6ab30269046480c272edaf4dcc0107e6eee 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_MICROPYTHON
        bool "micropython"
        select BR2_PACKAGE_LIBFFI
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_STATIC_LIBS
        # libffi doesn't provide the closure implementation on Blackfin
        depends on !BR2_bfin
        help
@@ -10,6 +11,6 @@ config BR2_PACKAGE_MICROPYTHON
 
          http://micropython.org
 
-comment "micropython needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "micropython needs a toolchain w/ threads, dynamic library"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
        depends on !BR2_bfin