Always use lists for `LIBS` in SCons

This closes #31288.
This commit is contained in:
Hugo Locurcio 2019-08-12 22:30:57 +02:00
parent 575e6a2d4a
commit 05daf5c78b
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C
2 changed files with 4 additions and 4 deletions

View File

@ -113,8 +113,8 @@ def configure(env, env_mono):
else:
env.Append(LINKFLAGS=os.path.join(mono_lib_path, mono_static_lib_name + lib_suffix))
env.Append(LIBS='psapi')
env.Append(LIBS='version')
env.Append(LIBS=['psapi'])
env.Append(LIBS=['version'])
else:
mono_lib_name = find_file_in_dir(mono_lib_path, mono_lib_names, extension='.lib')
@ -124,7 +124,7 @@ def configure(env, env_mono):
if env.msvc:
env.Append(LINKFLAGS=mono_lib_name + Environment()['LIBSUFFIX'])
else:
env.Append(LIBS=mono_lib_name)
env.Append(LIBS=[mono_lib_name])
mono_bin_path = os.path.join(mono_root, 'bin')

View File

@ -29,4 +29,4 @@ with open_utf8('register_platform_apis.gen.cpp', 'w') as f:
env.add_source_files(env.platform_sources, 'register_platform_apis.gen.cpp')
lib = env.add_library('platform', env.platform_sources)
env.Prepend(LIBS=lib)
env.Prepend(LIBS=[lib])