Browse Source

python3: needs dynamic library support

Fixes:
http://autobuild.buildroot.net/results/c65/c65c2b2c4c2ca328c4f26ba38798c40ab02c8772/
http://autobuild.buildroot.net/results/e0d/e0db38ca12dbe664d472c4f6f3f1ade4150119c3/
http://autobuild.buildroot.net/results/8e1/8e196d05dd65cdd782c8d41d937a7d9d2ef7dc1a/
http://autobuild.buildroot.net/results/e3a/e3a71f5d05a3e176a9e641e758b1ba64c9560991/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 10 years ago
parent
commit
54915af7c7
2 changed files with 6 additions and 4 deletions
  1. 3 2
      package/libsigrokdecode/Config.in
  2. 3 2
      package/python3/Config.in

+ 3 - 2
package/libsigrokdecode/Config.in

@@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBSIGROKDECODE
 	depends on BR2_USE_WCHAR # libglib2/python3
 	depends on BR2_USE_WCHAR # libglib2/python3
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2/python3
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2/python3
 	depends on BR2_USE_MMU # libglib2/python3
 	depends on BR2_USE_MMU # libglib2/python3
+	depends on !BR2_STATIC_LIBS # python3
 	help
 	help
 	  Libsigrokdecode is a shared library written in C, which
 	  Libsigrokdecode is a shared library written in C, which
 	  provides (streaming) protocol decoding functionality. Say
 	  provides (streaming) protocol decoding functionality. Say
@@ -16,10 +17,10 @@ config BR2_PACKAGE_LIBSIGROKDECODE
 
 
 	  http://sigrok.org/wiki/Libsigrokdecode
 	  http://sigrok.org/wiki/Libsigrokdecode
 
 
-comment "libsigrokecode needs a toolchain w/ wchar, threads"
+comment "libsigrokecode needs a toolchain w/ wchar, threads, dynamic library"
 	depends on BR2_USE_MMU
 	depends on BR2_USE_MMU
 	depends on !BR2_PACKAGE_PYTHON
 	depends on !BR2_PACKAGE_PYTHON
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 
 
 comment "libsigrokdecode is not compatible with python"
 comment "libsigrokdecode is not compatible with python"
 	depends on BR2_USE_MMU
 	depends on BR2_USE_MMU

+ 3 - 2
package/python3/Config.in

@@ -1,6 +1,6 @@
-comment "python3 needs a toolchain w/ wchar, threads"
+comment "python3 needs a toolchain w/ wchar, threads, dynamic library"
 	depends on BR2_USE_MMU
 	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_PYTHON3
 config BR2_PACKAGE_PYTHON3
 	bool "python3"
 	bool "python3"
@@ -9,6 +9,7 @@ config BR2_PACKAGE_PYTHON3
 	# uses fork()
 	# uses fork()
 	depends on BR2_USE_MMU
 	depends on BR2_USE_MMU
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libffi
+	depends on !BR2_STATIC_LIBS
 	select BR2_PACKAGE_LIBFFI
 	select BR2_PACKAGE_LIBFFI
 	help
 	help
 	  The python language interpreter.
 	  The python language interpreter.