Skip to content

Commit

Permalink
try adding libm
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed Jan 27, 2024
1 parent be1d689 commit 3bc974b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/qemu_aarch64_interpreter
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# we need to ensure that the binary uses the correct libc
# so first patch the program
patchelf --add-rpath /usr/aarch64-linux-gnu/lib/ $1
patchelf --add-needed libm.so.6 $1

# run the interpreter
qemu-aarch64-static "$@"

0 comments on commit 3bc974b

Please sign in to comment.