mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
fix(ipfs) (#1370)
* fix(ipfs) * looking for a linker (`gold`) we don't provide
This commit is contained in:
parent
dcdcb5ae1f
commit
3578d9287c
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue