cgo: allow .so in subdirectories

R=r
https://golang.org/cl/157103
This commit is contained in:
Russ Cox 2009-11-20 00:31:03 -08:00
parent c614ffe946
commit 9bc6a404d5
2 changed files with 2 additions and 2 deletions

View file

@ -101,6 +101,6 @@ func main() {
os.Exit(2)
}
p.PackagePath = p.Package;
p.PackagePath = os.Getenv("CGOPKGPATH") + "/" + p.Package;
p.writeOutput(input);
}