mirror of https://github.com/golang/go.git
net/http/cgi: propagate LD_LIBRARY_PATH on Android
Android is functionally a variant on linux, and should be treated as such. Change-Id: I08056f00bf98c1935c8cc3c859a6c72fe1a48efa Reviewed-on: https://go-review.googlesource.com/c/go/+/489395 Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
fa80fe7b1c
commit
ffa663c9b3
|
|
@ -39,7 +39,7 @@ var osDefaultInheritEnv = func() []string {
|
|||
switch runtime.GOOS {
|
||||
case "darwin", "ios":
|
||||
return []string{"DYLD_LIBRARY_PATH"}
|
||||
case "linux", "freebsd", "netbsd", "openbsd":
|
||||
case "android", "linux", "freebsd", "netbsd", "openbsd":
|
||||
return []string{"LD_LIBRARY_PATH"}
|
||||
case "hpux":
|
||||
return []string{"LD_LIBRARY_PATH", "SHLIB_PATH"}
|
||||
|
|
|
|||
Loading…
Reference in New Issue