mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +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:
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue