Skip to content

Commit

Permalink
make brotli static again
Browse files Browse the repository at this point in the history
more details: google/brotli#1174
  • Loading branch information
chipitsine committed Oct 31, 2024
1 parent 0d77a4b commit 54d0302
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Binary file added .github/make-brotli-static-again.patch
Binary file not shown.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ deps: go_deps link_external_deps

go_deps:
git submodule update --init
(cd submodules/brotli && patch -p0 --forward < ../../.github/make-brotli-static-again.patch || true) && echo OK
go mod vendor
ifdef USE_LZO
sed -i 's|\(#cgo LDFLAGS:\) .*|\1 -Wl,-Bstatic -llzo2 -Wl,-Bdynamic|' vendor/github.com/cyberdelia/lzo/lzo.go
Expand Down

0 comments on commit 54d0302

Please sign in to comment.