aboutsummaryrefslogtreecommitdiffstats
path: root/glob.go
diff options
context:
space:
mode:
Diffstat (limited to 'glob.go')
-rw-r--r--glob.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/glob.go b/glob.go
index 4553f69..4f7e978 100644
--- a/glob.go
+++ b/glob.go
@@ -19,6 +19,8 @@ import (
"fmt"
"sort"
"strings"
+
+ "github.com/google/blueprint/pathtools"
)
type GlobPath struct {
@@ -59,7 +61,7 @@ func (c *Context) glob(pattern string, excludes []string) ([]string, error) {
}
// Get a globbed file list
- files, deps, err := c.fs.Glob(pattern, excludes)
+ files, deps, err := c.fs.Glob(pattern, excludes, pathtools.FollowSymlinks)
if err != nil {
return nil, err
}