lib/curl/patches: refresh no_CMAKE_C_IMPLICIT_LINK_LIBRARIES.patch for 7.85.0
This commit is contained in:
parent
c1c67286d3
commit
c5d6aa169f
|
@ -1,13 +1,13 @@
|
|||
Index: curl-7.84.0/CMakeLists.txt
|
||||
Index: curl-7.85.0/CMakeLists.txt
|
||||
===================================================================
|
||||
--- curl-7.84.0.orig/CMakeLists.txt
|
||||
+++ curl-7.84.0/CMakeLists.txt
|
||||
@@ -1536,7 +1536,7 @@ set(includedir "\${prefix}/
|
||||
set(LDFLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
|
||||
set(LIBCURL_LIBS "")
|
||||
set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
-foreach(_lib ${CMAKE_C_IMPLICIT_LINK_LIBRARIES} ${CURL_LIBS})
|
||||
+foreach(_lib ${CURL_LIBS})
|
||||
if(TARGET "${_lib}")
|
||||
set(_libname "${_lib}")
|
||||
get_target_property(_imported "${_libname}" IMPORTED)
|
||||
--- curl-7.85.0.orig/CMakeLists.txt
|
||||
+++ curl-7.85.0/CMakeLists.txt
|
||||
@@ -1655,7 +1655,7 @@
|
||||
set(LDFLAGS "${CMAKE_SHARED_LINKER_FLAGS}")
|
||||
set(LIBCURL_LIBS "")
|
||||
set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
|
||||
- foreach(_lib ${CMAKE_C_IMPLICIT_LINK_LIBRARIES} ${CURL_LIBS})
|
||||
+ foreach(_lib ${CURL_LIBS})
|
||||
if(TARGET "${_lib}")
|
||||
set(_libname "${_lib}")
|
||||
get_target_property(_imported "${_libname}" IMPORTED)
|
||||
|
|
Loading…
Reference in New Issue