From 078a1bd732059ef808ffb8b606cee7d42337febf Mon Sep 17 00:00:00 2001 From: Filip Filmar Date: Fri, 26 Dec 2025 04:14:11 +0000 Subject: [PATCH] fix: fix the empty glob error with bazel 8+ Issue: #21 --- toolchain/templates/compiler.BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/templates/compiler.BUILD b/toolchain/templates/compiler.BUILD index 30dd95a..b163f89 100644 --- a/toolchain/templates/compiler.BUILD +++ b/toolchain/templates/compiler.BUILD @@ -38,7 +38,7 @@ filegroup( srcs = [ PREFIX, "{}/lib".format(PREFIX), - ] + glob(["lib/gcc/{}/*".format(PREFIX)]), + ] + glob(["lib/gcc/{}/**".format(PREFIX)]), ) # libraries, headers and executables.