mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-11-16 21:43:00 -08:00
Merge pull request #131 from Loyalsoldier/protoc-dont-relay-on-GOPATH
Protoc: do NOT rely on GOPATH
This commit is contained in:
1 file changed
+3
-3
@@ -11,9 +11,9 @@ import (
|
||||
)
|
||||
|
||||
var protocMap = map[string]string{
|
||||
"windows": filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", ".dev", "protoc", "windows", "protoc.exe"),
|
||||
"darwin": filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", ".dev", "protoc", "macos", "protoc"),
|
||||
"linux": filepath.Join(os.Getenv("GOPATH"), "src", "v2ray.com", "core", ".dev", "protoc", "linux", "protoc"),
|
||||
"windows": filepath.Join(".dev", "protoc", "windows", "protoc.exe"),
|
||||
"darwin": filepath.Join(".dev", "protoc", "macos", "protoc"),
|
||||
"linux": filepath.Join(".dev", "protoc", "linux", "protoc"),
|
||||
}
|
||||
|
||||
var (
|
||||
|
||||
Reference in new issue
Block a user