Do not version shared libraries on Android.

This commit is contained in:
Ghislain MARY 2016-03-14 14:48:43 +01:00
parent b44d6c3186
commit 04d03365f2
3 changed files with 7 additions and 3 deletions

View file

@ -220,7 +220,11 @@ if(ENABLE_SHARED)
endif()
endif()
set_target_properties(linphone PROPERTIES VERSION ${LINPHONE_SO_VERSION} LINKER_LANGUAGE CXX)
set_target_properties(linphone PROPERTIES LINKER_LANGUAGE CXX)
if(NOT ANDROID)
# Do not version shared library on Android
set_target_properties(linphone PROPERTIES SOVERSION ${LINPHONE_SO_VERSION})
endif()
add_dependencies(linphone liblinphone-git-version)
target_link_libraries(linphone ${LIBS})
if(WIN32 AND CMAKE_SYSTEM_NAME STREQUAL "WindowsPhone" AND NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")

@ -1 +1 @@
Subproject commit a92131c8910bed9e05ec42a00620299f33d85d05
Subproject commit fa24800c16f779e5a252780131e9cfb1367b72ed

2
oRTP

@ -1 +1 @@
Subproject commit 5e99cf5ec6b548d08f132c19f5f2f4d285c378ad
Subproject commit 40feb7a5001060c6d13d563880828be59ff0381a