Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
lukka
CMake
Commits
64e2c14c
Commit
64e2c14c
authored
Mar 05, 2019
by
tomty89
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Android: allow user to enable versioned soname
parent
451d3907
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Modules/Platform/Android.cmake
Modules/Platform/Android.cmake
+5
-3
No files found.
Modules/Platform/Android.cmake
View file @
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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment