Skip to content

Commit

Permalink
Android: Support sonames on Android
Browse files Browse the repository at this point in the history
This is actually required because without it, the APK will be bundle up
any library linking to a library without a SONAME with an absolute path.
  • Loading branch information
mathstuf committed Apr 15, 2014
1 parent 844840c commit d4a2a23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Platform/Android.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include(Platform/Linux)
set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "")
set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,")
# RPath is useless on Android, because we can't determine the installation
# location ahead of time.
set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "")

0 comments on commit d4a2a23

Please sign in to comment.