You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
SCons: Fix checks for clang in env['CXX']
They would match the whole path instead of only the filename.
This commit is contained in:
@@ -56,7 +56,7 @@ def configure(env):
|
||||
## Compiler configuration
|
||||
|
||||
if env['use_llvm']:
|
||||
if ('clang++' not in env['CXX']):
|
||||
if ('clang++' not in os.path.basename(env['CXX'])):
|
||||
env["CC"] = "clang"
|
||||
env["CXX"] = "clang++"
|
||||
env["LINK"] = "clang++"
|
||||
|
||||
Reference in New Issue
Block a user