mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
4353b6e33f
Co-authored-by: Kai Pastor <dg0yt@darc.de>
28 lines
804 B
Diff
28 lines
804 B
Diff
diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt
|
|
index 6dc8358..2b91efa 100644
|
|
--- a/cpp/src/arrow/CMakeLists.txt
|
|
+++ b/cpp/src/arrow/CMakeLists.txt
|
|
@@ -166,7 +166,7 @@ if(WIN32)
|
|
list(APPEND ARROW_SYSTEM_LINK_LIBS "ws2_32")
|
|
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()
|
|
diff --git a/cpp/src/arrow/vendored/musl/strptime.c b/cpp/src/arrow/vendored/musl/strptime.c
|
|
index 41912fd..0ea36e9 100644
|
|
--- a/cpp/src/arrow/vendored/musl/strptime.c
|
|
+++ b/cpp/src/arrow/vendored/musl/strptime.c
|
|
@@ -18,7 +18,9 @@
|
|
#undef HAVE_LANGINFO
|
|
|
|
#ifndef _WIN32
|
|
+# if !(defined(__ANDROID__) && __ANDROID_API__ < 26)
|
|
#define HAVE_LANGINFO 1
|
|
+# endif
|
|
#endif
|
|
|
|
#ifdef HAVE_LANGINFO
|