Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f6c1ce + 64a78a8 commit 36ae5c9Copy full SHA for 36ae5c9
src/CMakeLists.txt
@@ -232,8 +232,10 @@ IF (USE_HTTPS)
232
SET(GIT_MBEDTLS 1)
233
LIST(APPEND LIBGIT2_INCLUDES ${MBEDTLS_INCLUDE_DIR})
234
LIST(APPEND LIBGIT2_LIBS ${MBEDTLS_LIBRARIES})
235
- LIST(APPEND LIBGIT2_PC_LIBS ${MBEDTLS_LDFLAGS})
236
- LIST(APPEND LIBGIT2_PC_REQUIRES "mbedtls")
+ # mbedTLS has no pkgconfig file, hence we can't require it
+ # https://github.com/ARMmbed/mbedtls/issues/228
237
+ # For now, pass its link flags as our own
238
+ LIST(APPEND LIBGIT2_PC_LIBS ${MBEDTLS_LIBRARIES})
239
ELSEIF (HTTPS_BACKEND STREQUAL "WinHTTP")
240
# WinHTTP setup was handled in the WinHTTP-specific block above
241
ELSE()
0 commit comments