소스 검색

Add UWP to Regex JIT blacklist

PCRE2 JIT uses functions not available in UWP, which makes it fail to
link.
George Marques 8 년 전
부모
커밋
c40eea876e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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: