]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/compile/internal/importer/gcimporter.go
cmd/go: don't install most GOROOT .a files in pkg
[gostls13.git] / src / cmd / compile / internal / importer / gcimporter.go
index 0aa779441a7a3a364ed81aa689f752efce6bd6ee..e4d8a86f9a61598fd0edc41fdb47d6786e3a7d75 100644 (file)
@@ -74,8 +74,8 @@ func FindPkg(path, srcDir string) (filename, id string) {
                        }
                } else {
                        noext = strings.TrimSuffix(bp.PkgObj, ".a")
-                       id = bp.ImportPath
                }
+               id = bp.ImportPath
 
        case build.IsLocalImport(path):
                // "./x" -> "/this/directory/x.ext", "/this/directory/x"