History

macos: ldd does not exit, use otool instead

Christian Jullien committed 6 years ago

Commit 1ea42581 parent 9d75f141 file · +4 −0Browse files

Unified · Split

tests/Makefile+4−0
@@ -79,7 +79,11 @@ endif · 78 unmodified lines
79 79
80RUN_TCC = $(NATIVE_DEFINES) -run $(TOPSRC)/tcc.c $(TCCFLAGS)80RUN_TCC = $(NATIVE_DEFINES) -run $(TOPSRC)/tcc.c $(TCCFLAGS)
81DISAS = objdump -d81DISAS = objdump -d
82ifdef CONFIG_OSX
83DUMPTCC = (set -x; $(TOP)/tcc -vv; otool -L $(TOP)/tcc; exit 1)
84else
82DUMPTCC = (set -x; $(TOP)/tcc -vv; ldd $(TOP)/tcc; exit 1)85DUMPTCC = (set -x; $(TOP)/tcc -vv; ldd $(TOP)/tcc; exit 1)
86endif
83 87
84all test :88all test :
85 @$(MAKE) --no-print-directory -s clean89 @$(MAKE) --no-print-directory -s clean

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t