Skip to content

Commit

Permalink
Merge pull request #34 from lu4p/patch-1
Browse files Browse the repository at this point in the history
Update process.go to support embedded tor when using go modules
  • Loading branch information
cretz committed Nov 5, 2019
2 parents f5c65d3 + 5aeeb64 commit 1c71414
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions process/embedded/process.go
Expand Up @@ -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
Expand Down

0 comments on commit 1c71414

Please sign in to comment.