Fixed: CURL also depends on libidn2 and libpsl under OS X
--HG-- branch : develop
This commit is contained in:
parent
a0c3a3adc5
commit
dd517424c7
1 changed files with 11 additions and 1 deletions
|
@ -239,13 +239,23 @@ IF(WITH_NEL)
|
||||||
LIST(APPEND CURL_LIBRARIES ${IDN_LIBRARY})
|
LIST(APPEND CURL_LIBRARIES ${IDN_LIBRARY})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
# CURL Macports version depends on libidn, libintl and libiconv too
|
# CURL Macports version can depend on libidn, libidn2, libintl, libpsl and libiconv too
|
||||||
IF(APPLE)
|
IF(APPLE)
|
||||||
FIND_LIBRARY(INTL_LIBRARY intl)
|
FIND_LIBRARY(INTL_LIBRARY intl)
|
||||||
IF(INTL_LIBRARY)
|
IF(INTL_LIBRARY)
|
||||||
LIST(APPEND CURL_LIBRARIES ${INTL_LIBRARY})
|
LIST(APPEND CURL_LIBRARIES ${INTL_LIBRARY})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
FIND_LIBRARY(IDN2_LIBRARY idn2)
|
||||||
|
IF(IDN2_LIBRARY)
|
||||||
|
LIST(APPEND CURL_LIBRARIES ${IDN2_LIBRARY})
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
|
FIND_LIBRARY(PSL_LIBRARY psl)
|
||||||
|
IF(PSL_LIBRARY)
|
||||||
|
LIST(APPEND CURL_LIBRARIES ${PSL_LIBRARY})
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
LIST(APPEND CURL_LIBRARIES ${SECURITY_FRAMEWORK})
|
LIST(APPEND CURL_LIBRARIES ${SECURITY_FRAMEWORK})
|
||||||
ENDIF()
|
ENDIF()
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
Loading…
Reference in a new issue