From 06b30a3d2c5acd4a35e4430a305199865241ef4a Mon Sep 17 00:00:00 2001 From: James Duong Date: Fri, 12 Jan 2024 14:49:40 -0800 Subject: [PATCH] Fix the checking of dependencies --- ci/scripts/java_jni_macos_build.sh | 8 ++++---- ci/scripts/java_jni_manylinux_build.sh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ci/scripts/java_jni_macos_build.sh b/ci/scripts/java_jni_macos_build.sh index 51a2d4d1dee14..6c367fafe3aba 100755 --- a/ci/scripts/java_jni_macos_build.sh +++ b/ci/scripts/java_jni_macos_build.sh @@ -138,8 +138,8 @@ archery linking check-dependencies \ --allow libncurses \ --allow libobjc \ --allow libz \ - arrow_cdata_jni/libarrow_cdata_jni.dylib \ - arrow_dataset_jni/libarrow_dataset_jni.dylib \ - arrow_orc_jni/libarrow_orc_jni.dylib \ - gandiva_jni/libgandiva_jni.dylib + arrow_cdata_jni/${normalized_arch}/libarrow_cdata_jni.dylib \ + arrow_dataset_jni/${normalized_arch}/libarrow_dataset_jni.dylib \ + arrow_orc_jni/${normalized_arch}/libarrow_orc_jni.dylib \ + gandiva_jni/${normalized_arch}/libgandiva_jni.dylib popd diff --git a/ci/scripts/java_jni_manylinux_build.sh b/ci/scripts/java_jni_manylinux_build.sh index 9be129e08c4c1..214f1a943e67c 100755 --- a/ci/scripts/java_jni_manylinux_build.sh +++ b/ci/scripts/java_jni_manylinux_build.sh @@ -164,8 +164,8 @@ archery linking check-dependencies \ --allow libstdc++ \ --allow libz \ --allow linux-vdso \ - arrow_cdata_jni/libarrow_cdata_jni.so \ - arrow_dataset_jni/libarrow_dataset_jni.so \ - arrow_orc_jni/libarrow_orc_jni.so \ - gandiva_jni/libgandiva_jni.so + arrow_cdata_jni/${normalized_arch}/libarrow_cdata_jni.so \ + arrow_dataset_jni/${normalized_arch}/libarrow_dataset_jni.so \ + arrow_orc_jni/${normalized_arch}/libarrow_orc_jni.so \ + gandiva_jni/${normalized_arch}/libgandiva_jni.so popd