1
0
mirror of https://github.com/golang/go synced 2024-11-25 02:07:58 -07:00

gotest: new cgo does not require LD_LIBRARY_PATH

Fixes #1410.

R=r
CC=golang-dev
https://golang.org/cl/4072043
This commit is contained in:
Russ Cox 2011-01-20 13:11:06 -05:00
parent 40c7449044
commit 32a8f5a874

View File

@ -180,10 +180,4 @@ importpath=$(gomake -s importpath)
$GC _testmain.go $GC _testmain.go
$GL _testmain.$O $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 "$@" $E ./$O.out "$@"