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

12 lines
357 B
Diff
Raw Normal View History

2019-09-03 11:08:01 +02:00
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 11:10:13 +01:00
@@ -45,3 +45,6 @@ endif()
execinfo)
2019-09-03 11:08:01 +02:00
endif()
2020-03-25 11:10:13 +01:00
2019-09-03 11:08:01 +02:00
+if(${CMAKE_SYSTEM_NAME} MATCHES "Android")
2020-03-25 11:10:13 +01:00
+ target_link_libraries(llvmSupport PRIVATE android-spawn curses)
2019-09-03 11:08:01 +02:00
+endif()