2
1
Эх сурвалжийг харах

package/python-pyicu: needs host gcc >= 4.8 for icu support

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Bernd Kuhls 8 жил өмнө
parent
commit
d8c26cbc3c

+ 4 - 2
package/python-pyicu/Config.in

@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_PYICU
 	bool "python-pyicu"
+	depends on BR2_HOST_GCC_AT_LEAST_4_8 # icu
 	depends on !BR2_BINFMT_FLAT # icu
 	depends on BR2_INSTALL_LIBSTDCPP # icu
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # icu
@@ -9,7 +10,8 @@ config BR2_PACKAGE_PYTHON_PYICU
 
 	  https://github.com/ovalhub/pyicu
 
-comment "python-pyicu needs a toolchain w/ C++, gcc >= 4.8"
+comment "python-pyicu needs a toolchain w/ C++, gcc >= 4.8, host gcc >= 4.8"
 	depends on !BR2_BINFMT_FLAT
 	depends on !BR2_INSTALL_LIBSTDCPP || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
+		!BR2_HOST_GCC_AT_LEAST_4_8