[libpsl] Fix build: convert PSL to NFC (#1924)

This commit is contained in:
Tim Rühsen 2018-11-04 23:50:45 +01:00 committed by jonathanmetzman
parent 46b1adfd89
commit 16fcc34ac8
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,9 @@ for build in $builds; do
unset LIBS
if test $build = "none"; then
BUILD_FLAGS="--disable-runtime --disable-builtin"
# convert PSL to NFC
cp -p list/public_suffix_list.dat list/public_suffix_list.dat.org
LC_ALL=C.UTF-8 python3 -c $'import unicodedata\nimport sys\nfor line in sys.stdin:\n sys.stdout.write(unicodedata.normalize("NFC", line))' <list/public_suffix_list.dat.org >list/public_suffix_list.dat
else
BUILD_FLAGS="--enable-runtime=$build --enable-builtin=$build"
if test $build = "libicu"; then