update patch to link with libicuuc

This commit is contained in:
AleaJactaEst 2018-03-18 11:13:56 +01:00
parent 5630bbed5d
commit b3af849cff

View file

@ -4,8 +4,7 @@
IF(LIBLZMA_LIBRARIES) IF(LIBLZMA_LIBRARIES)
SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${LIBLZMA_LIBRARIES}) SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${LIBLZMA_LIBRARIES})
ENDIF() ENDIF()
+ # under Linux, recent libxml2 versions are linked without libicuuc & libicud + # under Linux, recent libxml2 versions are linked without libicuuc & libicudata
+ata
+ IF(WITH_STATIC_EXTERNAL) + IF(WITH_STATIC_EXTERNAL)
+ find_library (LIBICUUC_LIBRARY NAMES icuuc) + find_library (LIBICUUC_LIBRARY NAMES icuuc)
+ IF(LIBICUUC_LIBRARY) + IF(LIBICUUC_LIBRARY)