mirror of
https://github.com/termux/termux-packages.git
synced 2025-08-07 01:02:05 +00:00
26 lines
886 B
Diff
26 lines
886 B
Diff
From 53ece631f4abe7cf4a1962443ed7783853737ecf Mon Sep 17 00:00:00 2001
|
|
From: Henrik Grimler <grimler@termux.dev>
|
|
Date: Fri, 3 Feb 2023 11:50:57 +0100
|
|
Subject: [PATCH 24/41] android: dlvsym is available if ANDROID_API >= 24
|
|
|
|
---
|
|
src/hotspot/os/linux/os_linux.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/hotspot/os/linux/os_linux.cpp b/src/hotspot/os/linux/os_linux.cpp
|
|
index 1112c8dc3b0..25016b72c5c 100644
|
|
--- a/src/hotspot/os/linux/os_linux.cpp
|
|
+++ b/src/hotspot/os/linux/os_linux.cpp
|
|
@@ -135,7 +135,7 @@
|
|
// for timer info max values which include all bits
|
|
#define ALL_64_BITS CONST64(0xFFFFFFFFFFFFFFFF)
|
|
|
|
-#if defined(MUSL_LIBC) || defined(__ANDROID__)
|
|
+#if defined(MUSL_LIBC) || (defined(__ANDROID__) && __ANDROID_API__ < 24)
|
|
// dlvsym is not a part of POSIX
|
|
// and musl libc doesn't implement it.
|
|
static void *dlvsym(void *handle,
|
|
--
|
|
2.50.1
|
|
|