1
0
mirror of https://github.com/opa334/TrollStore.git synced 2025-04-05 03:53:10 +08:00

Fix compilation

This commit is contained in:
BomberFish 2023-12-30 18:35:44 -05:00
parent 783ab43c3e
commit 2e20150258
4 changed files with 5 additions and 5 deletions

View File

@ -2,8 +2,8 @@ TARGET = fastPathSign
CC = clang
CFLAGS = -framework Foundation -framework CoreServices -framework Security -fobjc-arc $(shell pkg-config --cflags libcrypto) -Isrc/external/include
LDFLAGS = $(shell pkg-config --libs libcrypto) -Lsrc/external/lib -lchoma
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 = -Lsrc/external/lib -lchoma
$(TARGET): $(wildcard src/*.m src/*.c)
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^

Binary file not shown.

View File

@ -1,9 +1,9 @@
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
-@sudo rm /usr/local/bin/pwnify 2>/dev/null || true
@sudo cp ./pwnify /usr/local/bin/pwnify
clean:
@rm ./pwnify 2>/dev/null || true
@rm ./pwnify 2>/dev/null || true

View File

@ -1,4 +1,4 @@
TARGET := iphone:clang:16.4:14.0
TARGET := iphone:clang:16.5:14.0
ARCHS = arm64
TARGET_CODESIGN = ../Exploits/fastPathSign/fastPathSign