Skip to content

Commit

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

0 comments on commit bb428cb

Please sign in to comment.