in the latest curl library update, there's a hardcoded path /usr/local/vitasdk/arm-vita-eabi/lib/libzstd.a to zstd static library:
- file:
curl/lib/cmake/CURL/CURLTargets.cmake (lines 58 - 67)
# Create imported target CURL::libcurl_static
add_library(CURL::libcurl_static STATIC IMPORTED)
set_target_properties(CURL::libcurl_static PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "CURL_STATICLIB"
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include"
INTERFACE_LINK_DIRECTORIES ""
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:OpenSSL::SSL>;\$<LINK_ONLY:OpenSSL::Crypto>;\$<LINK_ONLY:ZLIB::ZLIB>;/usr/local/vitasdk/arm-vita-eabi/lib/libzstd.a"
)
If any SDK user has installed vita-sdk on a different path, using CURL with cmake will fail to build the project due to missing library, even if you have libzstd installed with vdpm.
in the latest curl library update, there's a hardcoded path
/usr/local/vitasdk/arm-vita-eabi/lib/libzstd.ato zstd static library:curl/lib/cmake/CURL/CURLTargets.cmake(lines 58 - 67)If any SDK user has installed vita-sdk on a different path, using CURL with cmake will fail to build the project due to missing library, even if you have libzstd installed with vdpm.