macos: ldd does not exit, use otool instead
This commit is contained in:
parent
9d75f14107
commit
1ea425811a
1 changed files with 4 additions and 0 deletions
|
@ -79,7 +79,11 @@ endif
|
|||
|
||||
RUN_TCC = $(NATIVE_DEFINES) -run $(TOPSRC)/tcc.c $(TCCFLAGS)
|
||||
DISAS = objdump -d
|
||||
ifdef CONFIG_OSX
|
||||
DUMPTCC = (set -x; $(TOP)/tcc -vv; otool -L $(TOP)/tcc; exit 1)
|
||||
else
|
||||
DUMPTCC = (set -x; $(TOP)/tcc -vv; ldd $(TOP)/tcc; exit 1)
|
||||
endif
|
||||
|
||||
all test :
|
||||
@$(MAKE) --no-print-directory -s clean
|
||||
|
|
Loading…
Reference in a new issue