From 6c6e43abc0eaa18a167f2c74cb5f6a4aa6560406 Mon Sep 17 00:00:00 2001 From: m1337 Date: Thu, 29 Aug 2024 23:49:57 +0700 Subject: [PATCH] fix --- screendumpLowFrame/Makefile | 4 ++-- screendumpLowFrame/hooks/Makefile | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) 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