Set SONAME matching autoconf build on shared library for GNU ld.

This commit is contained in:
Jim Hague 2019-10-21 17:25:48 +01:00
parent 2c06e8b8ac
commit c6e5ef6330
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ else ()
# Again, follow libtool. Major version is current-age.
math(EXPR compat_version "${GETDNS_VERSION_CURRENT}-${GETDNS_VERSION_AGE}")
set_target_properties(getdns_shared PROPERTIES VERSION "${compat_version}.${GETDNS_VERSION_AGE}.${GETDNS_VERSION_REVISION}")
set_target_properties(getdns_shared PROPERTIES VERSION "${compat_version}.${GETDNS_VERSION_AGE}.${GETDNS_VERSION_REVISION}" SOVERSION "${compat_version}")
endif ()