]> Cypherpunks repositories - gostls13.git/commitdiff
gotest: new cgo does not require LD_LIBRARY_PATH
authorRuss Cox <rsc@golang.org>
Thu, 20 Jan 2011 18:11:06 +0000 (13:11 -0500)
committerRuss Cox <rsc@golang.org>
Thu, 20 Jan 2011 18:11:06 +0000 (13:11 -0500)
Fixes #1410.

R=r
CC=golang-dev
https://golang.org/cl/4072043

src/cmd/gotest/gotest

index 7572610d2e3cba22bb62aa0df404dc3d7d7ea507..87c6800893f8290bfbcadd1a95da6d6e3da983b4 100755 (executable)
@@ -180,10 +180,4 @@ importpath=$(gomake -s importpath)
 
 $GC _testmain.go
 $GL _testmain.$O
-
-# Set dynamic linker library path, no matter what it's called,
-# to include the current directory while running $O.out,
-# so that cgo libraries can be tested without installation.
-LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH \
-DYLD_LIBRARY_PATH=.:$DYLD_LIBRARY_PATH \
 $E ./$O.out "$@"