Merge pull request #34 from lu4p/patch-1

Update process.go to support embedded tor when using go modules
This commit is contained in:
Chad Retz 2019-11-05 16:31:59 -06:00 committed by GitHub
commit 1c71414a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,9 @@
//
// This package can be used with CGO to statically compile Tor. This package
// 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
// build the needed static libs, follow the README in that project. Once the
// $GOPATH/src/github.com/cretz/tor-static as if it was fetched with go get.
// 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
// 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