I tried:
$ > cd bindfs-1.17.6
$ > mkdir build && cd build
$ > CFLAGS='-static' CPPFLAGS='-static' LDFLAGS='-static' ./configure --enable-shared=no --enable-static=yes --prefix /usr --with-fuse3
...
$ > CFLAGS='-static' CPPFLAGS='-static' LDFLAGS='-static' make
...
$ > CFLAGS='-static' CPPFLAGS='-static' LDFLAGS='-static' make DESTDIR="$PWD/dist" install
...
$ >
But I ended up with a dynamically linked bindfs executable. How can I make it actually build statically linked bindfs executable?