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",