ldd 528 B

12345678910111213
  1. #!/bin/sh
  2. # From http://wiki.musl-libc.org/wiki/FAQ#Q:_where_is_ldd_.3F
  3. #
  4. # Musl's dynlinker comes with ldd functionality built in. just create a
  5. # symlink from ld-musl-$ARCH.so to /bin/ldd. If the dynlinker was started
  6. # as "ldd", it will detect that and print the appropriate DSO information.
  7. #
  8. # Instead, this string replaced "ldd" with the package so that pyinstaller
  9. # can find the actual lib.
  10. exec /usr/bin/ldd "$@" | \
  11. sed -r 's/([^[:space:]]+) => ldd/\1 => \/lib\/\1/g' | \
  12. sed -r 's/ldd \(.*\)//g'