* fix(ipfs)

* looking for a linker (`gold`) we don't provide
This commit is contained in:
Jacob Heider 2023-04-13 18:03:47 -04:00 committed by GitHub
parent dcdcb5ae1f
commit 3578d9287c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,7 @@ versions:
build:
dependencies:
tea.xyz/gx/make: '*'
tea.xyz/gx/cc: c99
go.dev: 1
go.dev: '>=1.18<1.20'
gnu.org/patch: '*'
script: |
if test "{{hw.platform}}" = "linux"; then
@ -21,7 +20,7 @@ build:
# fix found here https://github.com/docker-library/golang/issues/402#issuecomment-982204575
patch -p1 <props/ldflags.diff
fi
make build
make build CGO_ENABLED=0
mkdir -p {{prefix}}/bin
mv cmd/ipfs/ipfs {{prefix}}/bin