summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-27 15:51:26 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-27 15:51:26 +0200
commit812409cf7a635231319780505ea96585dff67d83 (patch)
tree51e501dfaabd65da9117ddf261c5a024b885e447
parent8d1c083bd9d1390fad71fd9317de323d13023104 (diff)
parent3fd9452a8ccd2c261ae7757a9b1fed1b6ada1c73 (diff)
Merge pull request #66493 from akien-mga/scons-regex-duplicate-objs
Fix MSVC warning LNK4042 about dupe objects in regex
-rw-r--r--modules/regex/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/regex/SCsub b/modules/regex/SCsub
index deb9db7591..6fd7cd47f3 100644
--- a/modules/regex/SCsub
+++ b/modules/regex/SCsub
@@ -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
# Godot source files