This commit is contained in:
m1337 2024-08-29 23:49:57 +07:00 committed by Michael
parent 9855510d95
commit 6c6e43abc0
2 changed files with 8 additions and 7 deletions

View File

@ -19,8 +19,8 @@ $(TOOL_NAME)_PRIVATE_FRAMEWORKS := IOMobileFramebuffer IOSurface
ifeq ($(THEOS_PACKAGE_SCHEME),rootless) ifeq ($(THEOS_PACKAGE_SCHEME),rootless)
# Rootless # Rootless
$(TOOL_NAME)_OBJCFLAGS += -IscreendumpLowFrame/vncbuild/include -Iinclude $(TOOL_NAME)_OBJCFLAGS += -Ivncbuild/include -Iinclude
$(TOOL_NAME)_LDFLAGS += -Wl,-segalign,4000 -LscreendumpLowFrame/vncbuild/lib -lvncserver -lpng -llzo2 -ljpeg -lssl -lcrypto -lz $(TOOL_NAME)_LDFLAGS += -Wl,-segalign,4000 -Lvncbuild/lib -lvncserver -lpng -llzo2 -ljpeg -lssl -lcrypto -lz
$(TOOL_NAME)_INSTALL_PATH = /usr/libexec $(TOOL_NAME)_INSTALL_PATH = /usr/libexec
else else
# Rootful settings # Rootful settings

View File

@ -3,15 +3,16 @@ TARGET = iphone:16.5:14.0
include $(THEOS)/makefiles/common.mk include $(THEOS)/makefiles/common.mk
TWEAK_NAME = screendumpbb 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)_FRAMEWORKS := IOSurface IOKit
$(TWEAK_NAME)_PRIVATE_FRAMEWORKS := IOMobileFramebuffer IOSurface $(TWEAK_NAME)_PRIVATE_FRAMEWORKS := IOMobileFramebuffer IOSurface
ADDITIONAL_OBJCFLAGS += -IscreendumpLowFrame/vncbuild/include -Iinclude ADDITIONAL_OBJCFLAGS += -I../vncbuild/include -Iinclude
ADDITIONAL_LDFLAGS += -Wl,-segalign,4000 ADDITIONAL_LDFLAGS += -Wl,-segalign,4000 -L../vncbuild/lib -lvncserver -lpng -llzo2 -ljpeg -lssl -lcrypto -lz
ADDITIONAL_CFLAGS = -w ADDITIONAL_CFLAGS = -w
export ARCHS = arm64 arm64e
$(TWEAK_NAME)_ARCHS = arm64 arm64e
include $(THEOS_MAKE_PATH)/tweak.mk include $(THEOS_MAKE_PATH)/tweak.mk