]> Cypherpunks repositories - gostls13.git/commit
yet another attempt at auto-linking
authorRuss Cox <rsc@golang.org>
Thu, 9 Apr 2009 05:45:33 +0000 (22:45 -0700)
committerRuss Cox <rsc@golang.org>
Thu, 9 Apr 2009 05:45:33 +0000 (22:45 -0700)
commitf95da9a639c53c5a932764d2649c22d154b66a01
treeb9c315d3e257b685c2d05a594df0e31a21c6dcc8
parent91a2ac1f1e008b21dadcbbae723151e5ad62fc0b
yet another attempt at auto-linking

store only the original import path string (+ .a)
if 6g resolves it to an archive file.
let 6l re-resolve the .a at link time.

this lets libraries build against an archive
in the current directory but get used
against an installed archive.

R=r
OCL=27244
CL=27244
src/cmd/6l/obj.c
src/cmd/gc/go.h
src/cmd/gc/lex.c
src/cmd/gc/subr.c
src/cmd/gc/walk.c
src/lib/Makefile