Skip to content

Commit 6496750

Browse files
committed
Fix unzip test on aarch64
1 parent 3b6ae6e commit 6496750

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/unzip/build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ configure_aarch64() {
5050
}
5151

5252
pre_install() {
53-
ldd $PROG | $EGREP -s libbz2 || logerr "unzip was built without bzip2"
53+
$ELFEDIT -r -e 'dyn:tag NEEDED' -o simple $PROG | $EGREP -s 'libbz2\.so' \
54+
|| logerr "unzip was built without bzip2"
5455
save_variable MAKE_INSTALL_ARGS
5556
MAKE_INSTALL_ARGS+=" prefix=$DESTDIR$PREFIX"
5657
}

0 commit comments

Comments
 (0)