gotest: new cgo does not require LD_LIBRARY_PATH
Fixes #1410.
R=r
CC=golang-dev
https://golang.org/cl/4072043
diff --git a/src/cmd/gotest/gotest b/src/cmd/gotest/gotest
index 7572610..87c6800 100755
--- a/src/cmd/gotest/gotest
+++ b/src/cmd/gotest/gotest
@@ -180,10 +180,4 @@
$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 "$@"