update patch to include libcrypto on build

This commit is contained in:
AleaJactaEst 2018-03-17 17:00:42 +01:00
parent aa0ce6bbf0
commit 37c3128c2a

View file

@ -1,23 +1,23 @@
--- CMakeLists.txt-libcrypto 2018-03-17 16:37:45.862885882 +0100 --- code/CMakeLists.txt 2018-03-11 15:14:14.921459798 +0100
+++ CMakeLists.txt-ref 2018-03-11 15:14:14.921459798 +0100 +++ code/CMakeLists.txt-libcrypto 2018-03-17 16:37:45.862885882 +0100
@@ -440,20 +440,6 @@ @@ -440,6 +440,20 @@
SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${IDN_LIBRARY}) SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${IDN_LIBRARY})
ENDIF() ENDIF()
- # Solve issue : "md5.c:(.text+0x12): undefined reference to `MD5_Init' + # Solve issue : "md5.c:(.text+0x12): undefined reference to `MD5_Init'
- # libcrypto + # libcrypto
- FIND_LIBRARY(LIBCRYPTO_LIBRARY NAMES libcryto crypto PATHS /usr/lib/x86_64-linux-gnu) + FIND_LIBRARY(LIBCRYPTO_LIBRARY NAMES libcryto crypto PATHS /usr/lib/x86_64-linux-gnu)
- IF(LIBCRYPTO_LIBRARY) + IF(LIBCRYPTO_LIBRARY)
- MESSAGE("-- Found crypto (amd64): ${LIBCRYPTO_LIBRARY}") + MESSAGE("-- Found crypto (amd64): ${LIBCRYPTO_LIBRARY}")
- SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${LIBCRYPTO_LIBRARY}) + SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${LIBCRYPTO_LIBRARY})
- ELSE() + ELSE()
- FIND_LIBRARY(LIBCRYPTO_LIBRARY NAMES libcryto crypto PATHS /usr/lib) + FIND_LIBRARY(LIBCRYPTO_LIBRARY NAMES libcryto crypto PATHS /usr/lib)
- IF(LIBCRYPTO_LIBRARY) + IF(LIBCRYPTO_LIBRARY)
- MESSAGE("-- Found crypto: ${LIBCRYPTO_LIBRARY}") + MESSAGE("-- Found crypto: ${LIBCRYPTO_LIBRARY}")
- SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${LIBCRYPTO_LIBRARY}) + SET(CURL_LIBRARIES ${CURL_LIBRARIES} ${LIBCRYPTO_LIBRARY})
- ENDIF() + ENDIF()
- ENDIF() + ENDIF()
- +
# CURL Macports version depends on libidn, libintl and libiconv too # CURL Macports version depends on libidn, libintl and libiconv too
IF(APPLE) IF(APPLE)
FIND_LIBRARY(INTL_LIBRARY intl) FIND_LIBRARY(INTL_LIBRARY intl)