mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 00:07:50 +08:00
43586b1aa0
- [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [ ] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [ ] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
28 lines
811 B
Diff
28 lines
811 B
Diff
diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt
|
|
index 026bb5c..5c1b5e3 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.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()
|
|
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
|