SCons: Fix MSVC warning LNK4042 about dupe objects in regex

(cherry picked from commit 3fd9452a8ccd2c261ae7757a9b1fed1b6ada1c73)
This commit is contained in:
Rémi Verschelde 2022-09-27 13:45:02 +02:00 committed by Relintai
parent 4a9c859c6d
commit 75bda24214

View File

@ -58,10 +58,10 @@ if env["builtin_pcre2"]:
env_pcre2["OBJSUFFIX"] = "_" + width + env_pcre2["OBJSUFFIX"]
env_pcre2.Append(CPPDEFINES=[("PCRE2_CODE_UNIT_WIDTH", width)])
env_pcre2.add_source_files(thirdparty_obj, thirdparty_sources)
env.modules_sources += thirdparty_obj
pcre2_builtin("16")
pcre2_builtin("32")
env.modules_sources += thirdparty_obj
# Pandemonium source files