Add winhttp dependencies to pc file.

This commit is contained in:
Arthur Schreiber 2016-01-05 19:07:27 +01:00 committed by Arthur Schreiber
parent 700f0aff24
commit 8a0133c030

View File

@ -257,7 +257,8 @@ IF (WIN32 AND WINHTTP)
LINK_DIRECTORIES(${LIBWINHTTP_PATH})
ENDIF ()
LINK_LIBRARIES(winhttp rpcrt4 crypt32)
LINK_LIBRARIES(winhttp rpcrt4 crypt32 ole32)
LIST(APPEND LIBGIT2_PC_LIBS "-lwinhttp" "-lrpcrt4" "-lcrypt32" "-lole32")
ELSE ()
IF (CURL)
PKG_CHECK_MODULES(CURL libcurl)