浏览代码

Modules: Add an Andriod platform file

It is much like Linux but has no SONAME or RPATH.
Stephen Kelly 11 年之前
父节点
当前提交
77f06b145d
共有 1 个文件被更改,包括 5 次插入0 次删除
  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 "")