Skip to content

Commit

Permalink
change fusermount to static v4
Browse files Browse the repository at this point in the history
  • Loading branch information
swazau committed Jun 25, 2024
1 parent ed53f28 commit 083cdd6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-arm64-fusermount3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@ jobs:
meson .. -Ddefault_library=static -Dudevrulesdir=/etc/udev/rules.d
ninja
sudo ninja install
- name: Copy fuse_config.h
- name: Generate fuse_config.h
run: |
sudo cp libfuse/include/fuse_config.h /usr/local/include/
cd libfuse/build
meson configure
- name: Create static fusermount3 binary
run: |
cd libfuse/util
gcc -static -I/usr/local/include fusermount.c -o fusermount3.static $(pkg-config fuse3 --cflags --libs) -lpthread
gcc -static -I../include -I../build fusermount.c -o fusermount3.static $(pkg-config fuse3 --cflags --libs) -lpthread
- name: Strip binary
run: strip libfuse/util/fusermount3.static
- name: Copy fusermount3 binary
Expand Down

0 comments on commit 083cdd6

Please sign in to comment.