vcpkg/ports/arrow/fix-ci-error.patch

14 lines
393 B
Diff
Raw Normal View History

diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index eeda520..f55080e 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -921,7 +921,7 @@ if(WIN32)
list(APPEND ARROW_SYSTEM_LINK_LIBS "ws2_32.dll")
endif()
-if(NOT WIN32 AND NOT APPLE)
+if(NOT WIN32 AND NOT APPLE AND NOT ANDROID)
# Pass -lrt on Linux only
list(APPEND ARROW_SYSTEM_LINK_LIBS rt)
endif()