mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix(snap): use enable-patchelf build attribute
Addresses linter warnings from snapcraft and uses the `enable-patchelf` build attribute to ensure the RPATH is set correctly on binaries in the snap.
This commit is contained in:
parent
bc7d7bf851
commit
00804d1663
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ parts:
|
|||
override-build: |
|
||||
craftctl default
|
||||
craftctl set version=$(git describe --tags --abbrev=0)
|
||||
build-attributes:
|
||||
- enable-patchelf
|
||||
organize:
|
||||
# Ubuntu's `fd` package installs a binary named `fdfind`. Rename it in the snap.
|
||||
usr/bin/fdfind: usr/bin/fd
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue