Add UWP to Regex JIT blacklist

PCRE2 JIT uses functions not available in UWP, which makes it fail to
link.
This commit is contained in:
George Marques 2017-10-22 14:51:39 -02:00
parent 774023a38e
commit c40eea876e
No known key found for this signature in database
GPG key ID: 046BD46A3201E43D

View file

@ -8,7 +8,7 @@ env_regex.Append(CPPFLAGS=["-DPCRE2_CODE_UNIT_WIDTH=0"])
env_regex.add_source_files(env.modules_sources, "*.cpp")
if env['builtin_pcre2']:
jit_blacklist = ['javascript']
jit_blacklist = ['javascript', 'uwp']
thirdparty_dir = '#thirdparty/pcre2/src/'
thirdparty_flags = ['-DPCRE2_STATIC', '-DHAVE_CONFIG_H']
if 'platform' in env and env['platform'] not in jit_blacklist: