diff --git a/RootHelper/Makefile b/RootHelper/Makefile index 2712772..4a61650 100644 --- a/RootHelper/Makefile +++ b/RootHelper/Makefile @@ -8,7 +8,7 @@ include $(THEOS)/makefiles/common.mk TOOL_NAME = trollstorehelper trollstorehelper_FILES = $(wildcard *.m) $(wildcard ../Shared/*.m) $(wildcard ../ChOma/src/*.c) ../Exploits/fastPathSign/src/coretrust_bug.c ../Exploits/fastPathSign/src/codesign.m -trollstorehelper_CFLAGS = -fobjc-arc -I../Shared $(shell pkg-config --cflags libcrypto) -I../ChOma/src -I../Exploits/fastPathSign/src +trollstorehelper_CFLAGS = -fobjc-arc -I../Shared $(shell pkg-config --cflags libcrypto) -I../ChOma/src -I../Exploits/fastPathSign/src -I$(shell brew --prefix)/opt/libarchive/include trollstorehelper_LDFLAGS = -L../ChOma/external/ios -lcrypto trollstorehelper_CODESIGN_FLAGS = --entitlements entitlements.plist trollstorehelper_INSTALL_PATH = /usr/local/bin diff --git a/TrollHelper/Makefile b/TrollHelper/Makefile index af6c001..76cc223 100644 --- a/TrollHelper/Makefile +++ b/TrollHelper/Makefile @@ -21,7 +21,7 @@ APPLICATION_NAME = TrollStorePersistenceHelper TrollStorePersistenceHelper_FILES = $(wildcard *.m) $(wildcard ../Shared/*.m) TrollStorePersistenceHelper_FRAMEWORKS = UIKit CoreGraphics CoreServices CoreTelephony TrollStorePersistenceHelper_PRIVATE_FRAMEWORKS = Preferences MobileContainerManager -TrollStorePersistenceHelper_CFLAGS = -fobjc-arc -I../Shared +TrollStorePersistenceHelper_CFLAGS = -fobjc-arc -I../Shared -I$(shell brew --prefix)/opt/libarchive/include ifeq ($(LEGACY_CT_BUG),1) TrollStorePersistenceHelper_CODESIGN_FLAGS = -Sentitlements.plist -K../legacy.p12 diff --git a/TrollStore/Makefile b/TrollStore/Makefile index 216041a..dd9979a 100644 --- a/TrollStore/Makefile +++ b/TrollStore/Makefile @@ -12,7 +12,7 @@ TrollStore_FILES = $(wildcard *.m) $(wildcard ../Shared/*.m) TrollStore_FRAMEWORKS = UIKit CoreGraphics CoreServices CoreTelephony TrollStore_PRIVATE_FRAMEWORKS = Preferences MobileIcons MobileContainerManager TrollStore_LIBRARIES = archive -TrollStore_CFLAGS = -fobjc-arc -I../Shared +TrollStore_CFLAGS = -fobjc-arc -I../Shared -I$(shell brew --prefix)/opt/libarchive/include TrollStore_CODESIGN_FLAGS = --entitlements entitlements.plist include $(THEOS_MAKE_PATH)/application.mk