mirror of
https://github.com/golang/go
synced 2024-11-22 02:24:41 -07:00
src: Make.pkg don't create $(TARGDIR) with goinstall.
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4548071
This commit is contained in:
parent
c6fd1e0115
commit
1042572528
@ -79,7 +79,7 @@ testpackage-clean:
|
||||
install: $(INSTALLFILES)
|
||||
|
||||
$(TARGDIR)/$(TARG).a: _obj/$(TARG).a
|
||||
@test -d $(QUOTED_GOROOT)/pkg && mkdir -p $(TARGDIR)/$(dir)
|
||||
@mkdir -p $(TARGDIR)/$(dir)
|
||||
cp _obj/$(TARG).a "$@"
|
||||
|
||||
_go_.$O: $(GOFILES) $(PREREQ)
|
||||
@ -227,7 +227,7 @@ _obj/$(SWIG_PREFIX)-%.so: _obj/%_wrapcxx.o
|
||||
$(HOST_CXX) $(_CGO_CFLAGS_$(GOARCH)) -o $@ $^ $(SWIG_LDFLAGS) $(_CGO_LDFLAGS_$(GOOS)) $(_SWIG_LDFLAGS_$(GOOS))
|
||||
|
||||
$(TARGDIR)/swig/$(SWIG_PREFIX)-%.so: _obj/$(SWIG_PREFIX)-%.so
|
||||
@test -d $(QUOTED_GOROOT)/pkg && mkdir -p $(TARGDIR)/swig
|
||||
@mkdir -p $(TARGDIR)/swig
|
||||
cp $< "$@"
|
||||
|
||||
all: $(SWIG_SOS)
|
||||
|
Loading…
Reference in New Issue
Block a user