Skip to content

Commit

Permalink
Hopefully the last 0.9.2 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kabiroberai committed Apr 11, 2021
1 parent ff81b56 commit 485f5cc
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,12 @@ SUBPKG_1_ID = 14
SUBPKG_1_NAME = iOS 14
SUBPKG_1_FW = firmware (>= 14.0), firmware (<< 15.0)

LOCAL_SWIFTC := $(TARGET_SWIFTC)
$(info Swift version $(shell $(LOCAL_SWIFTC) --version))

IS_OSS_SWIFT := $(shell $(LOCAL_SWIFTC) --version | grep -q swiftlang || echo 1)
IS_OSS_SWIFT := $(shell swiftc --version | grep -q swiftlang || echo 1)
ifeq ($(SUBPKG),)
ifneq ($(IS_OSS_SWIFT),)
SUBPKG := 0
else
APPLE_SWIFT_VERSION := $(shell $(LOCAL_SWIFTC) --version | cut -d' ' -f4)
APPLE_SWIFT_VERSION := $(shell swiftc --version | cut -d' ' -f4)
ifeq ($(shell $(THEOS_BIN_PATH)/vercmp.pl $(APPLE_SWIFT_VERSION) ge 5.3),1)
SUBPKG := 1
else
Expand Down

0 comments on commit 485f5cc

Please sign in to comment.