diff --git a/BUILD.gn b/BUILD.gn index e5f0f56826dc004e9ebf553d9f3059bed5b78061..d7b56a58fba42e274269d291706845b5f98a9021 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -57,7 +57,7 @@ ohos_shared_library("re2") { "util/util.h", ] include_dirs = [ "." ] - if (!is_asan) { + if (!is_asan && !is_debug) { version_script = "libre2.map" }