From: Russ Cox Date: Thu, 20 Jan 2011 18:11:06 +0000 (-0500) Subject: gotest: new cgo does not require LD_LIBRARY_PATH X-Git-Tag: weekly.2011-02-01~116 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=32a8f5a8742daeb8c292f40d556c78f792207599;p=gostls13.git 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 7572610d2e..87c6800893 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 "$@"