From 8653b275d0be4a88353340009ed0e96b311f8791 Mon Sep 17 00:00:00 2001 From: Qi Date: Thu, 25 Apr 2024 16:24:42 +0800 Subject: [PATCH] fix --- build/openresty/snappy/BUILD.bazel | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/build/openresty/snappy/BUILD.bazel b/build/openresty/snappy/BUILD.bazel index 1486122bb3f5..0da55de4dec9 100644 --- a/build/openresty/snappy/BUILD.bazel +++ b/build/openresty/snappy/BUILD.bazel @@ -58,8 +58,8 @@ cc_library( ], ) -cc_shared_library( - name = "snappy", +cc_library( + name = "_snappy", srcs = [ "snappy.cc", "snappy-c.cc", @@ -84,6 +84,11 @@ cc_shared_library( ], ) +cc_shared_library( + name = "snappy", + deps = [":_snappy"], +) + filegroup( name = "testdata", srcs = glob(["testdata/*"]),