aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/toc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/toc.sh')
-rwxr-xr-xscripts/toc.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/toc.sh b/scripts/toc.sh
index 7b2224c0..bd6425be 100755
--- a/scripts/toc.sh
+++ b/scripts/toc.sh
@@ -39,8 +39,8 @@ do_elf() {
}
do_macho() {
- otool -l "${infile}" | grep LC_ID_DYLIB -A 5 > "${outfile}.tmp"
- nm -gP "${infile}" | cut -f1-2 -d" " | grep -v 'U$' >> "${outfile}.tmp"
+ "${CROSS_COMPILE}/otool" -l "${infile}" | grep LC_ID_DYLIB -A 5 > "${outfile}.tmp"
+ "${CROSS_COMPILE}/nm" -gP "${infile}" | cut -f1-2 -d" " | grep -v 'U$' >> "${outfile}.tmp"
}