]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/md4, exp/draw/x11: fix makefile to build when GOROOT has whitespaces
authorSergio Luis O. B. Correia <sergio@larces.uece.br>
Mon, 30 Nov 2009 02:14:49 +0000 (18:14 -0800)
committerRuss Cox <rsc@golang.org>
Mon, 30 Nov 2009 02:14:49 +0000 (18:14 -0800)
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
src/pkg/exp/draw/x11/Makefile

index 087d89866368d512375ee2b3280324f223fbe507..5fff2dd8fd75ce2a769945502e827237424059a7 100644 (file)
@@ -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
index 808d5f0b259cca51a17443e66a472ca7826b12ff..d4e65ca730c30a71d6e27d351feb9df4ea3c51fe 100644 (file)
@@ -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