termux-packages/packages/llbuild/lib-llvm-Support-CmakeLists.txt.patch

12 lines
357 B
Diff
Raw Normal View History

2019-09-03 14:38:01 +05:30
diff --git a/lib/llvm/Support/CMakeLists.txt b/lib/llvm/Support/CMakeLists.txt
index 8e79e18..a844183 100644
--- a/lib/llvm/Support/CMakeLists.txt
+++ b/lib/llvm/Support/CMakeLists.txt
2020-03-25 15:40:13 +05:30
@@ -45,3 +45,6 @@ endif()
execinfo)
2019-09-03 14:38:01 +05:30
endif()
2020-03-25 15:40:13 +05:30
2019-09-03 14:38:01 +05:30
+if(${CMAKE_SYSTEM_NAME} MATCHES "Android")
2020-03-25 15:40:13 +05:30
+ target_link_libraries(llvmSupport PRIVATE android-spawn curses)
2019-09-03 14:38:01 +05:30
+endif()