From e11c6b510fc2cc34a44302fef00d53ecf4b6919d Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Thu, 28 Sep 2023 17:10:43 -0700 Subject: [PATCH] Fix --- third_party/libapr1.BUILD | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/third_party/libapr1.BUILD b/third_party/libapr1.BUILD index 78ce359fc..305553a11 100644 --- a/third_party/libapr1.BUILD +++ b/third_party/libapr1.BUILD @@ -158,8 +158,13 @@ cc_library( "HAVE_CONFIG_H", "LINUX", "REENTRANT", - "sys_siglist=strsignal", - ], + ] + select({ + "@bazel_tools//src/conditions:windows": [], + "@bazel_tools//src/conditions:darwin": [], + "//conditions:default": [ + "sys_siglist=strsignal", + ], + }), includes = [ "include", "include/arch/unix",