summaryrefslogtreecommitdiff
path: root/modules/regex
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 00:22:58 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 14:36:30 -0400
commit45a9a680a3cf54d4f43c46c3ec43a108ee62b834 (patch)
treeb7c005cadf0fa5754ea35d150208217eaeb49cce /modules/regex
parentffab67b8daea8e3379824105439eba8226b72fde (diff)
Use BoolVariable for third-party options.
Diffstat (limited to 'modules/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 2dfc2739e9..2bab144a28 100644
--- a/modules/regex/SCsub
+++ b/modules/regex/SCsub
@@ -7,7 +7,7 @@ env_regex = env_modules.Clone()
env_regex.Append(CPPFLAGS=["-DPCRE2_CODE_UNIT_WIDTH=0"])
env_regex.add_source_files(env.modules_sources, "*.cpp")
-if (env['builtin_pcre2'] != 'no'):
+if env['builtin_pcre2']:
jit_blacklist = ['javascript']
thirdparty_dir = '#thirdparty/pcre2/src/'
thirdparty_flags = ['-DPCRE2_STATIC', '-DHAVE_CONFIG_H']