Add iOS target

This commit is contained in:
Nick Chan committed 2023-01-27 22:06:43 +08:00
1 parent 405399e4f8
commit 12cfb86ef1
2 files changed
+61 -38

No files matched your search

+4 -2
View File
@@ -20,8 +20,10 @@ else
endif
ifeq (,$(findstring macosx, $(CFLAGS)))
ifneq (,$(findstring version-min=, $(CFLAGS)))
vtool -remove-build-version 1 checkra1n
vtool -set-build-version $(FAKE_PLATFORM) $(FAKE_MINOS) $(FAKE_SDK) checkra1n
vtool -remove-build-version 1 -replace -output checkra1n checkra1n
vtool -set-build-version $(FAKE_PLATFORM) $(FAKE_MINOS) $(FAKE_SDK) -replace -output checkra1n checkra1n
install_name_tool -change /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit /System/Library/Frameworks/IOKit.framework/IOKit checkra1n
install_name_tool -change /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation checkra1n
$(LDID) -Susb.xml checkra1n
endif
endif