7901483967
For whatever reason building with configure and make leads to symbols not being found (see https://github.com/termux/termux-packages/issues/7953). When switching to cmake it seems that libicu and pango are not considered optional dependencies anymore, so add these to dependecies.
12 lines
707 B
Diff
12 lines
707 B
Diff
--- ../src-training-CMakeLists.txt.orig 2021-11-09 10:38:49.403732886 +0100
|
|
+++ ./src/training/CMakeLists.txt 2021-11-09 10:38:18.379641180 +0100
|
|
@@ -211,7 +211,7 @@
|
|
if (SW_BUILD)
|
|
target_link_libraries (unicharset_training PUBLIC common_training org.sw.demo.unicode.icu.i18n)
|
|
else()
|
|
-target_link_libraries (unicharset_training PUBLIC common_training ${ICU_LINK_LIBRARIES})
|
|
+target_link_libraries (unicharset_training PUBLIC common_training ${ICU_LINK_LIBRARIES} libandroid-glob.so)
|
|
endif()
|
|
target_include_directories (unicharset_training PUBLIC unicharset ${CMAKE_CURRENT_BINARY_DIR})
|
|
generate_export_header (unicharset_training EXPORT_MACRO_NAME TESS_UNICHARSET_TRAINING_API)
|