Skip to content

Commit

Permalink
Add back patches
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored Jan 31, 2024
1 parent 97b2cd1 commit 0b31969
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/qemu_arm_interpreter
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
# we need to ensure that the binary uses the correct libc
# so first patch the program
patchelf --set-rpath /usr/arm-linux-gnueabihf/lib/ $1
#patchelf --add-needed libm.so.6 $1
#patchelf --add-needed libpthread.so.0 $1
#patchelf --add-needed libdl.so.2 $1
#patchelf --add-needed libutil.so.1 $1
#patchelf --add-needed librt.so.1 $1
patchelf --add-needed libm.so.6 $1
patchelf --add-needed libpthread.so.0 $1
patchelf --add-needed libdl.so.2 $1
patchelf --add-needed libutil.so.1 $1
patchelf --add-needed librt.so.1 $1

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

0 comments on commit 0b31969

Please sign in to comment.