golang: fix build error

This commit is contained in:
Leonid Pliushch 2020-11-22 13:37:33 +00:00
parent c17c417c43
commit 4644f57bec

View File

@ -12,6 +12,8 @@ TERMUX_PKG_NO_STATICSPLIT=true
termux_step_make_install() {
termux_setup_golang
CGO_LDFLAGS=${CGO_LDFLAGS/-Wl,-z,relro,-z,now/}
TERMUX_GOLANG_DIRNAME=${GOOS}_$GOARCH
TERMUX_GODIR=$TERMUX_PREFIX/lib/go