From 104257252822fe311837808c7a7113327dbf7b02 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Mon, 30 May 2011 12:35:55 +1000 Subject: [PATCH] src: Make.pkg don't create $(TARGDIR) with goinstall. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4548071 --- src/Make.pkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Make.pkg b/src/Make.pkg index 966bc61c7e3..86a2e9fd0d5 100644 --- a/src/Make.pkg +++ b/src/Make.pkg @@ -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)