Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

Commit dbc1668

Browse files
committed
Fix SUBSTRATE variable for Theos change.
This was changed in theos/theos@4c67217.
1 parent 99a2079 commit dbc1668

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ def BuildMakeFile():
140140
makeFileString += "TWEAK_NAME = " + randomTweakName + "\n"
141141
makeFileString += "SUBSTRATE ?= yes\n"
142142
if(JAILED==True):
143-
makeFileString += randomTweakName+"_USE_SUBSTRATE = $(SUBSTRATE)\n"
143+
makeFileString += "ifneq ($(call __theos_bool,$(SUBSTRATE)),$(_THEOS_TRUE))\n"
144+
makeFileString += randomTweakName+"_LOGOS_DEFAULT_GENERATOR = internal\n"
145+
makeFileString += "endif\n"
144146
makeFileString += randomTweakName + MakeFileListString + "\n"
145147
makeFileString += randomTweakName +"_CCFLAGS = -Qunused-arguments"
146148
for CCFlag in BuildConfig.ExtraCCFlags:

0 commit comments

Comments
 (0)