From c8732deb7a7ed5fa17fcf2e37b41f4ec14352b19 Mon Sep 17 00:00:00 2001 From: Josh Patra Date: Thu, 2 Jul 2026 14:40:19 -0400 Subject: [PATCH] fix(build): stage libc++_shared.so from NDK for x86_64 compile-time linking --- gamdl-aio/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gamdl-aio/Dockerfile b/gamdl-aio/Dockerfile index ae076094..345ff71a 100644 --- a/gamdl-aio/Dockerfile +++ b/gamdl-aio/Dockerfile @@ -39,7 +39,9 @@ RUN target_ndk_arch="arm64-v8a"; \ if [[ "$TARGETARCH" == "amd64" ]]; then \ target_ndk_arch="x86_64"; \ fi && \ - bash tools/stage-system.sh --arch "$target_ndk_arch" + bash tools/stage-system.sh --arch "$target_ndk_arch" && \ + mkdir -p rootfs/system/lib64 && \ + cp "/opt/android-ndk-r${NDK_VERSION}b/sources/cxx-stl/llvm-libc++/libs/${target_ndk_arch}/libc++_shared.so" "rootfs/system/lib64/" # Compile daemon and wrapper launcher RUN host_cc=(); \