Commit 485f5cc 1 parent ff81b56 commit 485f5cc Copy full SHA for 485f5cc
File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,12 @@ SUBPKG_1_ID = 14
18
18
SUBPKG_1_NAME = iOS 14
19
19
SUBPKG_1_FW = firmware (>= 14.0), firmware (<< 15.0)
20
20
21
- LOCAL_SWIFTC := $(TARGET_SWIFTC )
22
- $(info Swift version $(shell $(LOCAL_SWIFTC) --version))
23
-
24
- IS_OSS_SWIFT := $(shell $(LOCAL_SWIFTC ) --version | grep -q swiftlang || echo 1)
21
+ IS_OSS_SWIFT := $(shell swiftc --version | grep -q swiftlang || echo 1)
25
22
ifeq ($(SUBPKG ) ,)
26
23
ifneq ($(IS_OSS_SWIFT ) ,)
27
24
SUBPKG := 0
28
25
else
29
- APPLE_SWIFT_VERSION := $(shell $( LOCAL_SWIFTC ) --version | cut -d' ' -f4)
26
+ APPLE_SWIFT_VERSION := $(shell swiftc --version | cut -d' ' -f4)
30
27
ifeq ($(shell $(THEOS_BIN_PATH ) /vercmp.pl $(APPLE_SWIFT_VERSION ) ge 5.3) ,1)
31
28
SUBPKG := 1
32
29
else
You can’t perform that action at this time.
0 commit comments