diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-03 17:26:16 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-03 17:26:16 +0200 |
commit | 090a5b028b44cd8978468954f58f41db9ef8abfe (patch) | |
tree | d37f898724e61be5d8a770e88ed783db770c4046 /SConstruct | |
parent | 3a5d52428722ca3193a9ac77ac712a382b35e489 (diff) | |
parent | e9b2af91cfab41987e2e92813800ab23581e655d (diff) | |
download | redot-engine-090a5b028b44cd8978468954f58f41db9ef8abfe.tar.gz |
Merge pull request #82638 from Repiteo/check_c_headers-to-dictionary
`check_c_headers` from tuple array to dictionary
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct index 4f411d6d0a..294ae82b7d 100644 --- a/SConstruct +++ b/SConstruct @@ -988,9 +988,10 @@ if selected_platform in platform_list: # Check for the existence of headers conf = Configure(env) if "check_c_headers" in env: - for header in env["check_c_headers"]: - if conf.CheckCHeader(header[0]): - env.AppendUnique(CPPDEFINES=[header[1]]) + headers = env["check_c_headers"] + for header in headers: + if conf.CheckCHeader(header): + env.AppendUnique(CPPDEFINES=[headers[header]]) elif selected_platform != "": if selected_platform == "list": |