This test was stripping a binary generated by Makefile.rules which is potentially codesigned. Stripping invalidates the code signature, so we might need to re-sign after stripping.
13 lines
239 B
Makefile
13 lines
239 B
Makefile
OBJC_SOURCES := main.m
|
|
LD_EXTRAS := -lobjc -framework Foundation
|
|
|
|
all: a.out.stripped
|
|
|
|
include Makefile.rules
|
|
|
|
a.out.stripped: a.out.dSYM
|
|
strip -o a.out.stripped a.out
|
|
ifneq "$(CODESIGN)" ""
|
|
$(CODESIGN) -fs - a.out.stripped
|
|
endif
|