Browse Source

build: make Borg.bin a static binary

This prevents it from e.g. needing a specific glibc version on the
client.
master
Jim Paris 2 years ago
parent
commit
1fb8645b27
2 changed files with 2 additions and 0 deletions
  1. BIN
      Borg.bin
  2. +2
    -0
      README.md

BIN
Borg.bin View File


+ 2
- 0
README.md View File

@@ -122,6 +122,8 @@ Notes
pip install llfuse
pip install -e .[llfuse]
pyinstaller --clean --noconfirm scripts/borg.exe.spec
pip install staticx
staticx -l /lib/x86_64-linux-gnu/libm.so.6 dist/borg.exe Borg.bin

Then see `dist/borg.exe`. Confirm the version with `dist/borg.exe --version`.



Loading…
Cancel
Save