summaryrefslogtreecommitdiffstats
path: root/package/python
diff options
context:
space:
mode:
Diffstat (limited to 'package/python')
-rw-r--r--package/python/python.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/python/python.mk b/package/python/python.mk
index 7b20434c94..281130c68b 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -105,6 +105,9 @@ endif
# Default is UCS2 w/o a conf opt
ifeq ($(BR2_PACKAGE_PYTHON_UCS4),y)
+# host-python must have the same UCS2/4 configuration as the target
+# python
+HOST_PYTHON_CONF_OPTS += --enable-unicode=ucs4
PYTHON_CONF_OPTS += --enable-unicode=ucs4
endif
OpenPOWER on IntegriCloud