mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-01-06 07:10:41 +00:00
Merge pull request #4701 from gilles-peskine-arm/make_generated_files-non_english-3.0
psa_generate_test: tweak MSVC detection to work with non-English Visual Studio
This commit is contained in:
commit
3c62693c99
@ -135,8 +135,7 @@ def get_c_expression_values(
|
|||||||
stdout=subprocess.DEVNULL,
|
stdout=subprocess.DEVNULL,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
universal_newlines=True)
|
universal_newlines=True)
|
||||||
cc_is_msvc = 'Microsoft (R) C/C++ Optimizing Compiler' in \
|
cc_is_msvc = 'Microsoft (R) C/C++' in proc.communicate()[1]
|
||||||
proc.communicate()[1]
|
|
||||||
|
|
||||||
cmd += ['-I' + dir for dir in include_path]
|
cmd += ['-I' + dir for dir in include_path]
|
||||||
if cc_is_msvc:
|
if cc_is_msvc:
|
||||||
|
Loading…
Reference in New Issue
Block a user