Commit 10425725 authored by Yasuhiro Matsumoto's avatar Yasuhiro Matsumoto Committed by Andrew Gerrand

src: Make.pkg don't create $(TARGDIR) with goinstall.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4548071
parent c6fd1e01
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment