forked from openkylin/platform_build
Merge "Fix empty mac .toc generation"
This commit is contained in:
commit
7bc7704921
|
@ -225,7 +225,7 @@ endef
|
|||
# Commands to generate .toc file from Darwin dynamic library.
|
||||
define _gen_toc_command_for_macho
|
||||
$(hide) otool -l $(1) | grep LC_ID_DYLIB -A 5 > $(2)
|
||||
$(hide) nm -gP $(1) | cut -f1-2 -d" " | grep -v U$$ >> $(2)
|
||||
$(hide) nm -gP $(1) | cut -f1-2 -d" " | (grep -v U$$ >> $(2) || true)
|
||||
endef
|
||||
|
||||
combo_target := HOST_
|
||||
|
|
Loading…
Reference in New Issue