libpinyin: remove obsolete workaround

This commit is contained in:
Andreas Cord-Landwehr
2024-07-21 16:52:24 +02:00
parent fc9df9e9b6
commit 72670f8298

View File

@@ -38,11 +38,4 @@ inherit cmake
EXTRA_OECMAKE += "-DDOWNLOAD_MODEL_DATA_ARCHIVE=OFF"
EXTRA_OECMAKE:class-native += "-DINSTALL_UTILS=ON -DDISABLE_DATA_GENERATION=ON"
# workaround for generator that can be executed only once:
# https://github.com/libpinyin/libpinyin/issues/128
do_install:prepend() {
rm -f ${WORKDIR}/build/data/*.bin
rm -f ${WORKDIR}/build/data/*.db
}
BBCLASSEXTEND = "native"