diff --git a/third_party/BUILD b/third_party/BUILD index b458d521fd11be..3a5ca3e3229383 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -469,6 +469,7 @@ UNNECESSARY_DYNAMIC_LIBRARIES = select({ "//src/conditions:arm": "*.so *.jnilib *.dll", "//src/conditions:linux_aarch64": "*.so *.jnilib *.dll", "//src/conditions:linux_ppc": "*.so *.jnilib *.dll", + "//src/conditions:openbsd": "*.so *.jnilib *.dll", # Play it safe -- better have a big binary than a slow binary # zip -d does require an argument. Supply something bogus. "//conditions:default": "*.bogusextension", @@ -627,6 +628,11 @@ config_setting( values = {"host_cpu": "freebsd"}, ) +config_setting( + name = "openbsd", + values = {"host_cpu": "openbsd"}, +) + config_setting( name = "s390x", values = {"host_cpu": "s390x"},