add pcre2static8

Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/9847

Signed-off-by: zhangmingqi <zhangmingqi9@huawei.com>
This commit is contained in:
weixin_57688977
2026-02-25 09:43:32 +08:00
parent 85fe6aac8b
commit ee67e16702
-3
View File
@@ -112,15 +112,12 @@ ohos_static_library("libpcre2_static") {
deps = [ ":publish_generic_file" ]
output_name = "libpcre2_static"
sources = pcre2_sources
sources -= [ "$PCRE2_LIB_DIR/src/pcre2_newline.c" ]
sources += [ "$PCRE2_ARKTS_DIR/pcre2_newline_static.c" ]
sources += get_target_outputs(":publish_generic_file")
public_configs = [ ":third_party_pcre2_config" ]
cflags = [
"-D_GNU_SOURCE",
"-DHAVE_CONFIG_H",
"-DSUPPORT_PCRE2_8=1",
"-DSUPPORT_UNICODE=1",
"-DPCRE2_CODE_UNIT_WIDTH=8",
"-w",
]