1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-30 16:26:50 +00:00

SCons: Expand env variables to check compiler version

Scons' `Environment.subst()` does that, and was already used in the
other place where we query an env variable (`env["LINK"]` in x11 code).

Fixes `3.2` iOS build after cherry-pick of #36559 (previously it only
ran for GCC code, not iOS's Clang), and the same issue would likely
affect `master` if iOS builds were enabled right now.
This commit is contained in:
Rémi Verschelde
2020-03-04 14:36:57 +01:00
parent 98f88a4102
commit df7ecfc4a7
2 changed files with 6 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
import os
import platform
import sys
from methods import get_compiler_version, using_gcc, using_clang
from methods import using_gcc, using_clang
def is_active():