Commit d564d061 authored by Brad King's avatar Brad King Committed by Kitware Robot

Merge topic 'android-versioned-soname'

64e2c14c Android: allow user to enable versioned soname
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3063
parents 809890e3 64e2c14c
......@@ -2,9 +2,11 @@ include(Platform/Linux)
set(ANDROID 1)
# Android has soname, but binary names must end in ".so" so we cannot append
# a version number. Also we cannot portably represent symlinks on the host.
set(CMAKE_PLATFORM_NO_VERSIONED_SONAME 1)
# Conventionally Android does not use versioned soname
# But in modern versions it is acceptable
if(NOT DEFINED CMAKE_PLATFORM_NO_VERSIONED_SONAME)
set(CMAKE_PLATFORM_NO_VERSIONED_SONAME 1)
endif()
# Android reportedly ignores RPATH, and we cannot predict the install
# location anyway.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment