python: needs dynamic library support
authorPeter Korsgaard <peter@korsgaard.com>
Sat, 2 May 2015 07:37:12 +0000 (09:37 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 2 May 2015 07:39:45 +0000 (09:39 +0200)
Fixes:
http://autobuild.buildroot.net/results/7a0/7a044d5c8bf7526fcf4f0ec80a2b9b18d1f632a1/
http://autobuild.buildroot.net/results/27f/27ff12127dee3b1a8df86ef8b05681d695b2cac8/
http://autobuild.buildroot.net/results/7ce/7ce78169b661dcd6c04dc3ee5b1877c0de09f91d/
http://autobuild.buildroot.net/results/e58/e583583bc0ba4aff84d896fb7e6caf4793e03eb9/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python/Config.in

index 1a78f17e6f41ffce7f4c9630d16319199f860f35..fa83e7774a51a975ba15d44c66e48e3ba2ef6e23 100644 (file)
@@ -1,6 +1,6 @@
-comment "python needs a toolchain w/ wchar, threads"
+comment "python needs a toolchain w/ wchar, threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 
 config BR2_PACKAGE_PYTHON
        bool "python"
@@ -8,6 +8,7 @@ config BR2_PACKAGE_PYTHON
        # uses fork()
        depends on BR2_USE_MMU
        depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
+       depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_LIBFFI
        help
          The python language interpreter.