Commit 32a8f5a8 authored by Russ Cox's avatar Russ Cox

gotest: new cgo does not require LD_LIBRARY_PATH

Fixes #1410.

R=r
CC=golang-dev
https://golang.org/cl/4072043
parent 40c74490
......@@ -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 "$@"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment