diff --git a/screendumpLowFrame/Makefile b/screendumpLowFrame/Makefile index b3a8798..10bb9da 100644 --- a/screendumpLowFrame/Makefile +++ b/screendumpLowFrame/Makefile @@ -19,8 +19,8 @@ $(TOOL_NAME)_PRIVATE_FRAMEWORKS := IOMobileFramebuffer IOSurface ifeq ($(THEOS_PACKAGE_SCHEME),rootless) # Rootless - $(TOOL_NAME)_OBJCFLAGS += -IscreendumpLowFrame/vncbuild/include -Iinclude - $(TOOL_NAME)_LDFLAGS += -Wl,-segalign,4000 -LscreendumpLowFrame/vncbuild/lib -lvncserver -lpng -llzo2 -ljpeg -lssl -lcrypto -lz + $(TOOL_NAME)_OBJCFLAGS += -Ivncbuild/include -Iinclude + $(TOOL_NAME)_LDFLAGS += -Wl,-segalign,4000 -Lvncbuild/lib -lvncserver -lpng -llzo2 -ljpeg -lssl -lcrypto -lz $(TOOL_NAME)_INSTALL_PATH = /usr/libexec else # Rootful settings diff --git a/screendumpLowFrame/hooks/Makefile b/screendumpLowFrame/hooks/Makefile index ba47770..7690f82 100644 --- a/screendumpLowFrame/hooks/Makefile +++ b/screendumpLowFrame/hooks/Makefile @@ -3,15 +3,16 @@ TARGET = iphone:16.5:14.0 include $(THEOS)/makefiles/common.mk TWEAK_NAME = screendumpbb -$(TWEAK_NAME)_FILES = screendumpLowFrame/hooks/Tweak.xm +$(TWEAK_NAME)_FILES = Tweak.xm +export ARCHS = arm64 +$(TWEAK_NAME)_ARCHS = arm64 $(TWEAK_NAME)_FRAMEWORKS := IOSurface IOKit $(TWEAK_NAME)_PRIVATE_FRAMEWORKS := IOMobileFramebuffer IOSurface -ADDITIONAL_OBJCFLAGS += -IscreendumpLowFrame/vncbuild/include -Iinclude -ADDITIONAL_LDFLAGS += -Wl,-segalign,4000 +ADDITIONAL_OBJCFLAGS += -I../vncbuild/include -Iinclude +ADDITIONAL_LDFLAGS += -Wl,-segalign,4000 -L../vncbuild/lib -lvncserver -lpng -llzo2 -ljpeg -lssl -lcrypto -lz ADDITIONAL_CFLAGS = -w -export ARCHS = arm64 arm64e -$(TWEAK_NAME)_ARCHS = arm64 arm64e + include $(THEOS_MAKE_PATH)/tweak.mk