mirror of
https://github.com/openharmony/third_party_pcre2.git
synced 2026-07-01 10:05:26 -04:00
add pcre2static8
Issue: https://gitcode.com/openharmony/arkcompiler_runtime_core/issues/9847 Signed-off-by: zhangmingqi <zhangmingqi9@huawei.com>
This commit is contained in:
@@ -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",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user