mirror of
https://github.com/opa334/TrollStore.git
synced 2025-04-13 07:43:12 +08:00
Fix compilation
This commit is contained in:
parent
783ab43c3e
commit
2e20150258
@ -2,8 +2,8 @@ TARGET = fastPathSign
|
|||||||
|
|
||||||
CC = clang
|
CC = clang
|
||||||
|
|
||||||
CFLAGS = -framework Foundation -framework CoreServices -framework Security -fobjc-arc $(shell pkg-config --cflags libcrypto) -Isrc/external/include
|
CFLAGS = -framework Foundation -framework CoreServices -framework Security -fobjc-arc -isysroot $(shell xcrun --sdk iphoneos --show-sdk-path) $(shell pkg-config --cflags libcrypto) -Isrc/external/include -arch arm64 -miphoneos-version-min=14.0 src/external/lib/libcrypto.a
|
||||||
LDFLAGS = $(shell pkg-config --libs libcrypto) -Lsrc/external/lib -lchoma
|
LDFLAGS = -Lsrc/external/lib -lchoma
|
||||||
|
|
||||||
$(TARGET): $(wildcard src/*.m src/*.c)
|
$(TARGET): $(wildcard src/*.m src/*.c)
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
|
||||||
|
BIN
Exploits/fastPathSign/src/external/lib/libchoma.a
vendored
BIN
Exploits/fastPathSign/src/external/lib/libchoma.a
vendored
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
pwnify:
|
pwnify:
|
||||||
@clang main.m -fobjc-arc -fmodules -mmacosx-version-min=11.0 -o pwnify
|
@clang main.m -fobjc-arc -fmodules -mmacosx-version-min=11.0 -arch arm64 -o pwnify
|
||||||
|
|
||||||
install: pwnify
|
install: pwnify
|
||||||
-@sudo rm /usr/local/bin/pwnify 2>/dev/null || true
|
-@sudo rm /usr/local/bin/pwnify 2>/dev/null || true
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
TARGET := iphone:clang:16.4:14.0
|
TARGET := iphone:clang:16.5:14.0
|
||||||
ARCHS = arm64
|
ARCHS = arm64
|
||||||
|
|
||||||
TARGET_CODESIGN = ../Exploits/fastPathSign/fastPathSign
|
TARGET_CODESIGN = ../Exploits/fastPathSign/fastPathSign
|
||||||
|
Loading…
Reference in New Issue
Block a user