Merge pull request #34 from lu4p/patch-1
Update process.go to support embedded tor when using go modules
This commit is contained in:
commit
1c71414a61
|
@ -6,8 +6,9 @@
|
||||||
//
|
//
|
||||||
// This package can be used with CGO to statically compile Tor. This package
|
// This package can be used with CGO to statically compile Tor. This package
|
||||||
// expects https://github.com/cretz/tor-static to be cloned at
|
// expects https://github.com/cretz/tor-static to be cloned at
|
||||||
// $GOPATH/src/github.com/cretz/tor-static as if it was fetched with go get. To
|
// $GOPATH/src/github.com/cretz/tor-static as if it was fetched with go get.
|
||||||
// build the needed static libs, follow the README in that project. Once the
|
// If you use go modules the expected path would be $GOPATH/pkg/mod/github.com/cretz/tor-static
|
||||||
|
// To build the needed static libs, follow the README in that project. Once the
|
||||||
// static libs are built, this uses CGO to statically link them here. For
|
// static libs are built, this uses CGO to statically link them here. For
|
||||||
// Windows this means something like http://www.msys2.org/ needs to be
|
// Windows this means something like http://www.msys2.org/ needs to be
|
||||||
// installed with gcc.exe on the PATH (i.e. the same gcc that was used to build
|
// installed with gcc.exe on the PATH (i.e. the same gcc that was used to build
|
||||||
|
|
Loading…
Reference in New Issue