diff options
| author | NancyLi1013 <lirui09@beyondsoft.com> | 2019-12-17 22:03:22 -0800 |
|---|---|---|
| committer | NancyLi1013 <lirui09@beyondsoft.com> | 2019-12-17 22:04:06 -0800 |
| commit | 496f5cd5faa2848342d50860dc3b369d63d83cc1 (patch) | |
| tree | de38894eee55d29663c1c4a2056845f69d5c0369 | |
| parent | 32860b3d8edc2a8ee1c15d321df0d5e09c3e6068 (diff) | |
| download | vcpkg-496f5cd5faa2848342d50860dc3b369d63d83cc1.tar.gz vcpkg-496f5cd5faa2848342d50860dc3b369d63d83cc1.zip | |
Update -ldl as CMAKE_DL_LIBS
| -rw-r--r-- | ports/tesseract/fix-text2image.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/tesseract/fix-text2image.patch b/ports/tesseract/fix-text2image.patch index d7ee74507..e4d83347f 100644 --- a/ports/tesseract/fix-text2image.patch +++ b/ports/tesseract/fix-text2image.patch @@ -16,7 +16,7 @@ index 8fd96a9..186341e 100644 )
add_library (unicharset_training ${unicharset_training_src})
+if(UNIX)
-+ list(APPEND ICU_LIBRARIES -ldl)
++ list(APPEND ICU_LIBRARIES ${CMAKE_DL_LIBS})
+endif()
if (NOT CPPAN_BUILD)
target_link_libraries (unicharset_training common_training ${ICU_LIBRARIES})
|
