loader,crypto: fix link error for crypto/internal/boring/sig.StandardCrypto

This commit is contained in:
Damian Gryski
2022-08-18 14:00:57 -07:00
committed by Ron Evans
parent b485e8bfbd
commit 227a55d891
3 changed files with 27 additions and 3 deletions
+1 -1
View File
@@ -264,7 +264,7 @@ func (p *Program) getOriginalPath(path string) string {
originalPath = realgorootPath
}
maybeInTinyGoRoot := false
for prefix := range pathsToOverride(needsSyscallPackage(p.config.BuildTags())) {
for prefix := range pathsToOverride(p.config.GoMinorVersion, needsSyscallPackage(p.config.BuildTags())) {
if runtime.GOOS == "windows" {
prefix = strings.ReplaceAll(prefix, "/", "\\")
}