Explorar o código

Modules: Add an Andriod platform file

It is much like Linux but has no SONAME or RPATH.
Stephen Kelly %!s(int64=11) %!d(string=hai) anos
pai
achega
77f06b145d
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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 "")