Skip to content

Commit

Permalink
change fusermount to static v6
Browse files Browse the repository at this point in the history
  • Loading branch information
swazau committed Jun 25, 2024
1 parent 04b7590 commit bda8ca9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-arm64-fusermount3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
meson .. -Ddefault_library=static -Dudevrulesdir=/etc/udev/rules.d
ninja
sudo ninja install
- name: Build fusermount3
- name: Build static fusermount3
run: |
cd libfuse/build/util
ninja fusermount3
- name: Create static fusermount3 binary
run: |
gcc -static -o fusermount3.static libfuse/build/util/fusermount3 -L/usr/local/lib -lpthread -lfuse3
gcc -static -o fusermount3.static \
libfuse/util/fusermount.c \
libfuse/lib/mount_util.c \
-I libfuse/include \
-L/usr/local/lib -lfuse3 -lpthread
- name: Strip binary
run: strip fusermount3.static
- name: Upload artifact
Expand Down

0 comments on commit bda8ca9

Please sign in to comment.