libgo http/cgi: Pass down environment variables for irix and solaris.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 29 Apr 2011 17:53:53 +0000 (17:53 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 29 Apr 2011 17:53:53 +0000 (17:53 +0000)
From-SVN: r173181

libgo/go/http/cgi/host.go

index af082e1a7ec2b22c7363d6c3dda811ba85bebc25..862acb6000e28200c108867a58a69129a316981d 100644 (file)
@@ -36,7 +36,9 @@ var osDefaultInheritEnv = map[string][]string{
        "darwin":  []string{"DYLD_LIBRARY_PATH"},
        "freebsd": []string{"LD_LIBRARY_PATH"},
        "hpux":    []string{"LD_LIBRARY_PATH", "SHLIB_PATH"},
+       "irix":    []string{"LD_LIBRARY_PATH", "LD_LIBRARYN32_PATH", "LD_LIBRARY64_PATH"},
        "linux":   []string{"LD_LIBRARY_PATH"},
+       "solaris": []string{"LD_LIBRARY_PATH", "LD_LIBRARY_PATH_32", "LD_LIBRARY_PATH_64"},
        "windows": []string{"SystemRoot", "COMSPEC", "PATHEXT", "WINDIR"},
 }