diff --git a/BUILD.gn b/BUILD.gn index 5990c6a..11de636 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -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", ]