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