Răsfoiți Sursa

Add UWP to Regex JIT blacklist

PCRE2 JIT uses functions not available in UWP, which makes it fail to
link.
George Marques 7 ani în urmă
părinte
comite
c40eea876e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      modules/regex/SCsub

+ 1 - 1
modules/regex/SCsub

@@ -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: