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