Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/homedir: clarify Get() docs wrt static linking
This clarifies comments about static linking made in commit a8608b5. 1. There are two ways to create a static binary, one is to disable cgo, the other is to set linker flags. When cgo is disabled, there is no need to use osusergo build tag. 2. osusergo only needs to be set when linking against glibc. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
- Loading branch information