Skip to content

Commit

Permalink
aarch64: fix libzip build
Browse files Browse the repository at this point in the history
  • Loading branch information
hadfl committed Jan 18, 2025
1 parent c411462 commit 3c1daff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/libzip/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ pre_configure() {

CONFIGURE_OPTS[$arch]="-DCMAKE_INSTALL_LIBDIR=$OPREFIX/${LIBDIRS[$arch]}"
LDFLAGS[$arch]+=" -R$OPREFIX/${LIBDIRS[$arch]}"

! cross_arch $arch && return

export CMAKE_LIBRARY_PATH=${SYSROOT[$arch]}/usr/${LIBDIRS[$arch]}
}

init
Expand Down

0 comments on commit 3c1daff

Please sign in to comment.