diff options
Diffstat (limited to 'src/Make.pkg')
-rw-r--r-- | src/Make.pkg | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Make.pkg b/src/Make.pkg index 966bc61c7..86a2e9fd0 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) |