Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
47cf739e
Commit
47cf739e
authored
Jan 13, 2016
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3569 from arthurschreiber/arthur/fix-windows-issues
Fix some issues with generated pkg-config file
parents
700f0aff
768e185c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CMakeLists.txt
+2
-1
libgit2.pc.in
+1
-1
No files found.
CMakeLists.txt
View file @
47cf739e
...
@@ -257,7 +257,8 @@ IF (WIN32 AND WINHTTP)
...
@@ -257,7 +257,8 @@ IF (WIN32 AND WINHTTP)
LINK_DIRECTORIES
(
${
LIBWINHTTP_PATH
}
)
LINK_DIRECTORIES
(
${
LIBWINHTTP_PATH
}
)
ENDIF
()
ENDIF
()
LINK_LIBRARIES
(
winhttp rpcrt4 crypt32
)
LINK_LIBRARIES
(
winhttp rpcrt4 crypt32 ole32
)
LIST
(
APPEND LIBGIT2_PC_LIBS
"-lwinhttp"
"-lrpcrt4"
"-lcrypt32"
"-lole32"
)
ELSE
()
ELSE
()
IF
(
CURL
)
IF
(
CURL
)
PKG_CHECK_MODULES
(
CURL libcurl
)
PKG_CHECK_MODULES
(
CURL libcurl
)
...
...
libgit2.pc.in
View file @
47cf739e
...
@@ -6,7 +6,7 @@ Name: libgit2
...
@@ -6,7 +6,7 @@ Name: libgit2
Description: The git library, take 2
Description: The git library, take 2
Version: @LIBGIT2_VERSION_STRING@
Version: @LIBGIT2_VERSION_STRING@
Libs: -L
${libdir}
-lgit2
Libs: -L
"${libdir}"
-lgit2
Libs.private: @LIBGIT2_PC_LIBS@
Libs.private: @LIBGIT2_PC_LIBS@
Requires.private: @LIBGIT2_PC_REQUIRES@
Requires.private: @LIBGIT2_PC_REQUIRES@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment