diff --git a/package/python-pyicu/Config.in b/package/python-pyicu/Config.in index efab0853e4..2d9624c116 100644 --- a/package/python-pyicu/Config.in +++ b/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