From 32a8f5a8742daeb8c292f40d556c78f792207599 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Thu, 20 Jan 2011 13:11:06 -0500 Subject: [PATCH] gotest: new cgo does not require LD_LIBRARY_PATH Fixes #1410. R=r CC=golang-dev https://golang.org/cl/4072043 --- src/cmd/gotest/gotest | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/cmd/gotest/gotest b/src/cmd/gotest/gotest index 7572610d2e3..87c6800893f 100755 --- a/src/cmd/gotest/gotest +++ b/src/cmd/gotest/gotest @@ -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 "$@"