From 687a8473b5adc944921de77d26aff72f42d16e8a Mon Sep 17 00:00:00 2001 From: Levon Gevorgyan Date: Wed, 17 Dec 2025 18:15:02 -0600 Subject: [PATCH] more android fixes --- lib/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/build.sh b/lib/build.sh index a99303f..3c69f2c 100644 --- a/lib/build.sh +++ b/lib/build.sh @@ -60,11 +60,12 @@ set_compile_opts() { LIBDIR="${PREFIX}/lib" LDFLAGS_ARR=("-L${LIBDIR}") - # HACK rope in libm + # android does not find libraries due to different names if is_android && [[ ! -f "${LIBDIR}/libm.so" ]]; then LDFLAGS_ARR+=( "-L/system/lib64" "-lm" + "-landroid-shmem" ) fi