Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yongtang committed Aug 3, 2023
1 parent ab7c655 commit 27b4e4a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions third_party/kafka.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ cc_library(
],
) + [
"config/config.h",
"config/src/set1_host.c",
"config/src/win32_config.h",
] + select({
"@bazel_tools//src/conditions:windows": [
Expand All @@ -45,7 +44,6 @@ cc_library(
}),
hdrs = [
"config/config.h",
"config/src/set1_host.c",
"config/src/win32_config.h",
"src/rdxxhash.c",
"src/rdxxhash.h",
Expand Down Expand Up @@ -76,19 +74,6 @@ cc_library(
],
)

genrule(
name = "set1_host_c",
outs = ["config/src/set1_host.c"],
cmd = "\n".join([
"cat <<'EOF' >$@",
"#include <openssl/ssl.h>",
"int SSL_set1_host(SSL *s, const char *hostname) {",
" return X509_VERIFY_PARAM_set1_host(SSL_get0_param(s), hostname, 0);",
"}",
"EOF",
]),
)

genrule(
name = "win32_config_h",
outs = ["config/src/win32_config.h"],
Expand Down

0 comments on commit 27b4e4a

Please sign in to comment.