Ver Fonte

Modules: Add an Andriod platform file

It is much like Linux but has no SONAME or RPATH.
Stephen Kelly há 11 anos atrás
pai
commit
77f06b145d
1 ficheiros alterados com 5 adições e 0 exclusões
  1. 5 0
      Modules/Platform/Android.cmake

+ 5 - 0
Modules/Platform/Android.cmake

@@ -0,0 +1,5 @@
+include(Platform/Linux)
+set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "")
+# RPath is useless on Android, because we can't determine the installation
+# location ahead of time.
+set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "")