Skip to content

Commit

Permalink
Fix: disable building docs to reduce dependency footprint
Browse files Browse the repository at this point in the history
  • Loading branch information
yunginnanet committed Jun 18, 2024
1 parent 08285b2 commit 187c19c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func build(folder string) error {
env = []string{"PATH=" + autopointPath + ":" + os.Getenv("PATH")}
}
cmds := [][]string{
{"sh", "-l", "./autogen.sh"},
{"sh", "-l", "./autogen.sh", "--no-po4a"},
{"sh", "./configure", "--prefix=" + pwd + "/dist", "--disable-shared", "--enable-static",
"--disable-doc", "--disable-scripts", "--disable-xz", "--disable-xzdec", "--disable-lzmadec",
"--disable-lzmainfo", "--disable-lzma-links"},
Expand All @@ -210,7 +210,8 @@ func build(folder string) error {
"--enable-static-libevent", "--with-libevent-dir=" + pwd + "/../libevent/dist",
"--enable-static-openssl", "--with-openssl-dir=" + pwd + "/../_openssl/dist",
"--enable-static-zlib", "--with-zlib-dir=" + pwd + "/../zlib/dist",
"--disable-systemd", "--disable-lzma", "--disable-seccomp"}
"--disable-systemd", "--disable-lzma", "--disable-seccomp",
"--disable-html-manual", "--disable-manpage"}

if host != "" {
torConf = append(torConf, "--host="+host)
Expand Down

0 comments on commit 187c19c

Please sign in to comment.