mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-20 12:40:31 +00:00
Set proper shared library soname.
This commit is contained in:
parent
ec3c7a16c2
commit
2d5ef6ad0d
@ -74,6 +74,7 @@ ENDIF ()
|
|||||||
|
|
||||||
# Compile and link libgit2
|
# Compile and link libgit2
|
||||||
ADD_LIBRARY(git2 ${SRC} ${SRC_PLAT} ${SRC_SHA1})
|
ADD_LIBRARY(git2 ${SRC} ${SRC_PLAT} ${SRC_SHA1})
|
||||||
|
SET_TARGET_PROPERTIES(git2 PROPERTIES VERSION 0.0.1 SOVERSION 0)
|
||||||
TARGET_LINK_LIBRARIES(git2 ${ZLIB_LIBRARY} ${LIB_SHA1} ${PTHREAD_LIBRARY})
|
TARGET_LINK_LIBRARIES(git2 ${ZLIB_LIBRARY} ${LIB_SHA1} ${PTHREAD_LIBRARY})
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
Loading…
Reference in New Issue
Block a user