Merge pull request #29217 from Calinou/fix-scons-platform-autodetection
Fix SCons automatic platform detection on Linux
This commit is contained in:
commit
eb70999ffa
@ -229,7 +229,7 @@ elif env_base['p'] != "":
|
|||||||
else:
|
else:
|
||||||
# Missing `platform` argument, try to detect platform automatically
|
# Missing `platform` argument, try to detect platform automatically
|
||||||
if sys.platform.startswith('linux'):
|
if sys.platform.startswith('linux'):
|
||||||
selected_platform = 'linux'
|
selected_platform = 'x11'
|
||||||
elif sys.platform == 'darwin':
|
elif sys.platform == 'darwin':
|
||||||
selected_platform = 'osx'
|
selected_platform = 'osx'
|
||||||
elif sys.platform == 'win32':
|
elif sys.platform == 'win32':
|
||||||
|
Loading…
Reference in New Issue
Block a user