summaryrefslogtreecommitdiff
path: root/modules/regex/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/regex/SCsub')
-rw-r--r--modules/regex/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/regex/SCsub b/modules/regex/SCsub
index 99c25add45..65f354ffa7 100644
--- a/modules/regex/SCsub
+++ b/modules/regex/SCsub
@@ -46,7 +46,7 @@ if env['builtin_pcre2']:
thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
- env_regex.Append(CPPPATH=[thirdparty_dir])
+ env_regex.Prepend(CPPPATH=[thirdparty_dir])
env_regex.Append(CPPFLAGS=thirdparty_flags)
def pcre2_builtin(width):