diff --git a/src/bazel/pkg_config_repository.bzl b/src/bazel/pkg_config_repository.bzl index 653b5b970..7d45f5c03 100644 --- a/src/bazel/pkg_config_repository.bzl +++ b/src/bazel/pkg_config_repository.bzl @@ -75,7 +75,7 @@ cc_library( """ EXPORTS_FILES_TEMPLATE = """ -exports_files(glob(["libexec/*"])) +exports_files(glob(["libexec/*"], allow_empty=True)) """ def _exec_pkg_config(repo_ctx, flags):