Skip passing --enable-unicode
for CPython 3.3+ (fixes #912)
This commit is contained in:
parent
48aa0c491b
commit
2a4b203312
@ -1977,7 +1977,15 @@ fi
|
|||||||
# Compile with `--enable-unicode=ucs4` by default (#257)
|
# Compile with `--enable-unicode=ucs4` by default (#257)
|
||||||
if [[ "$PYTHON_CONFIGURE_OPTS" != *"--enable-unicode="* ]]; then
|
if [[ "$PYTHON_CONFIGURE_OPTS" != *"--enable-unicode="* ]]; then
|
||||||
if ! is_mac; then
|
if ! is_mac; then
|
||||||
|
# Skip specifying `--enable-unicode` for CPython 3.3+ (#912)
|
||||||
|
case "${DEFINITION_PATH##*/}" in
|
||||||
|
"2."* | \
|
||||||
|
"3.0" | "3.0."* | "3.0-"* | \
|
||||||
|
"3.1" | "3.1."* | "3.1-"* | \
|
||||||
|
"3.2" | "3.2."* | "3.2-"* )
|
||||||
package_option python configure --enable-unicode=ucs4
|
package_option python configure --enable-unicode=ucs4
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user