diff --git a/projects/libpsl/build.sh b/projects/libpsl/build.sh index 6cf1cb92b..0dd93b532 100755 --- a/projects/libpsl/build.sh +++ b/projects/libpsl/build.sh @@ -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 else BUILD_FLAGS="--enable-runtime=$build --enable-builtin=$build" if test $build = "libicu"; then