Set `allow_empty = True` on `system_python` glob
If there is no local Python installation then the contents of this glob will be
empty. We want the build to succeed in that scenario, so this change will allow
that to happen.
PiperOrigin-RevId: 559407373
diff --git a/bazel/system_python.bzl b/bazel/system_python.bzl
index 43fa59b..04b53c2 100644
--- a/bazel/system_python.bzl
+++ b/bazel/system_python.bzl
@@ -97,7 +97,7 @@
cc_library(
name = "python_headers",
- hdrs = glob(["python/**/*.h"]),
+ hdrs = glob(["python/**/*.h"], allow_empty = True),
includes = ["python"],
visibility = ["//visibility:public"],
)