mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-15 12:09:06 +00:00
adding patch to link with libicuuc
This commit is contained in:
parent
57454f3859
commit
5630bbed5d
1 changed files with 20 additions and 0 deletions
20
patch/libicuuc.patch
Normal file
20
patch/libicuuc.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- code/CMakeLists.txt.origin 2018-03-17 16:37:45.862885882 +0100
|
||||
+++ code/CMakeLists.txt 2018-03-18 10:40:02.320751401 +0100
|
||||
@@ -148,6 +148,18 @@
|
||||
IF(LIBLZMA_LIBRARIES)
|
||||
SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${LIBLZMA_LIBRARIES})
|
||||
ENDIF()
|
||||
+ # under Linux, recent libxml2 versions are linked without libicuuc & libicud
|
||||
+ata
|
||||
+ IF(WITH_STATIC_EXTERNAL)
|
||||
+ find_library (LIBICUUC_LIBRARY NAMES icuuc)
|
||||
+ IF(LIBICUUC_LIBRARY)
|
||||
+ SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${LIBICUUC_LIBRARY})
|
||||
+ ENDIF()
|
||||
+ find_library (LIBICUDATA_LIBRARY NAMES icudata)
|
||||
+ IF(LIBICUDATA_LIBRARY)
|
||||
+ SET(LIBXML2_LIBRARIES ${LIBXML2_LIBRARIES} ${LIBICUDATA_LIBRARY})
|
||||
+ ENDIF()
|
||||
+ ENDIF()
|
||||
ENDIF()
|
||||
ENDIF()
|
Loading…
Reference in a new issue