Fix ios-sign
This commit is contained in:
parent
99832fca3d
commit
627e1a74a0
2 changed files with 7 additions and 1 deletions
|
|
@ -12,6 +12,9 @@ LIBR2=$(call libname-version,libr2.$(EXT_SO),${LIBVERSION})
|
|||
|
||||
all: preload
|
||||
@for BINARY in ${BINS} ; do (cd $$BINARY && ${MAKE} all) || exit 1; done
|
||||
ifeq ($(COMPILER),ios-sdk)
|
||||
$(MAKE) ios-sign
|
||||
endif
|
||||
|
||||
preload:
|
||||
$(MAKE) -C preload
|
||||
|
|
@ -34,6 +37,9 @@ install:
|
|||
mv libr2.$(EXT_SO) $(LIBR2) && \
|
||||
ln -fs $(LIBR2) libr2.$(EXT_SO)
|
||||
|
||||
ios_sign ios-sign ios-sdk-sign:
|
||||
for a in $(BINS) ; do xcrun --sdk iphoneos codesign -s- --entitlements radare2/radare2.xml $$a ; done
|
||||
|
||||
symstall install-symlink:
|
||||
mkdir -p "${DESTDIR}${BINDIR}"
|
||||
for BINARY in ${BINS} ; do ln -fs "${BTOP}/$$BINARY/$$BINARY" "${DESTDIR}${BINDIR}/$$BINARY" ; done
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ fi
|
|||
. sys/ios-env.sh
|
||||
|
||||
makeDeb() {
|
||||
( cd binr/radare2 ; make ios_sdk_sign )
|
||||
( cd binr ; make ios-sdk-sign )
|
||||
rm -rf /tmp/r2ios
|
||||
make install DESTDIR=/tmp/r2ios
|
||||
rm -rf /tmp/r2ios/usr/share/radare2/*/www/enyo/node_modules
|
||||
|
|
|
|||
Loading…
Reference in a new issue