Skip to content

Commit

Permalink
update the libtool version after new api additions.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Jan 29, 2022
1 parent 77daf50 commit c05ced3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@ add_library(modplug ${LIB_TYPE}
if (BUILD_SHARED_LIBS)
if(APPLE)
target_link_libraries(modplug -Wl,-undefined,error)
target_link_libraries(modplug -Wl,-compatibility_version,2.0.0)
target_link_libraries(modplug -Wl,-current_version,2.0.0)
target_link_libraries(modplug -Wl,-compatibility_version,3.0.0)
target_link_libraries(modplug -Wl,-current_version,3.0.0)
else()
if(HAVE_NO_UNDEFINED)
target_link_libraries(modplug -Wl,--no-undefined)
endif()
set_target_properties(modplug PROPERTIES
VERSION 1.0.0 SOVERSION 1)
VERSION 1.1.0 SOVERSION 1)
endif()
if(MATH_LIB)
target_link_libraries(modplug m)
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ AC_TYPE_UINT32_T
AC_TYPE_INT64_T
AC_TYPE_UINT64_T

MODPLUG_LIBRARY_VERSION=1:0:0
MODPLUG_LIBRARY_VERSION=2:0:1

AC_SUBST(MODPLUG_LIBRARY_VERSION)

Expand Down

0 comments on commit c05ced3

Please sign in to comment.