From 46892656c7438115f1c48c5c18c517f3f7b987f9 Mon Sep 17 00:00:00 2001 From: "Sergio Luis O. B. Correia" Date: Sun, 29 Nov 2009 18:14:49 -0800 Subject: [PATCH] crypto/md4, exp/draw/x11: fix makefile to build when GOROOT has whitespaces this is the exact same thing issue #115 is about. fix makefiles to use relative path to work in the case we have whitespaces as part of GOROOT. R=rsc https://golang.org/cl/162055 --- src/pkg/crypto/md4/Makefile | 4 ++-- src/pkg/exp/draw/x11/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pkg/crypto/md4/Makefile b/src/pkg/crypto/md4/Makefile index 087d898663..5fff2dd8fd 100644 --- a/src/pkg/crypto/md4/Makefile +++ b/src/pkg/crypto/md4/Makefile @@ -2,11 +2,11 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/md4 GOFILES=\ md4.go\ md4block.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/exp/draw/x11/Makefile b/src/pkg/exp/draw/x11/Makefile index 808d5f0b25..d4e65ca730 100644 --- a/src/pkg/exp/draw/x11/Makefile +++ b/src/pkg/exp/draw/x11/Makefile @@ -2,11 +2,11 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../../Make.$(GOARCH) TARG=exp/draw/x11 GOFILES=\ auth.go\ conn.go\ -include $(GOROOT)/src/Make.pkg +include ../../../../Make.pkg -- 2.50.0