mirror of
https://github.com/golang/go
synced 2024-11-21 20:04:44 -07:00
make: use actual dependency for install
otherwise "make install" runs cp unconditionally R=r CC=golang-dev https://golang.org/cl/802044
This commit is contained in:
parent
5b257732ac
commit
6962e2b754
@ -60,7 +60,7 @@ testpackage-clean:
|
||||
|
||||
install: $(INSTALLFILES)
|
||||
|
||||
$(pkgdir)/$(TARG).a: package
|
||||
$(pkgdir)/$(TARG).a: _obj/$(TARG).a
|
||||
@test -d $(QUOTED_GOROOT)/pkg && mkdir -p $(pkgdir)/$(dir)
|
||||
cp _obj/$(TARG).a "$@"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user