Fix mac sdk build
Use the host platform "strip", and also expose "nm" and "otool" used for toc. Test: `m PRODUCT-sdk-sdk` on Mac Change-Id: I7a6d127f479d3e563385ead46bc3a4b49b99776b
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user