]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - FUSEISO/build.sh
Add German language (#57)
[Ventoy.git] / FUSEISO / build.sh
1 #!/bin/bash
2
3 CUR="$PWD"
4
5 #LIBFUSE_DIR=$CUR/LIBFUSE
6 LIBFUSE_DIR=../ExFAT/LIBFUSE
7
8 if uname -a | egrep -q 'x86_64|amd64'; then
9 name=vtoy_fuse_iso_64
10 else
11 name=vtoy_fuse_iso_32
12 opt=-lrt
13 fi
14
15 export C_INCLUDE_PATH=$LIBFUSE_DIR/include
16
17 rm -f $name
18 gcc -static -O2 -D_FILE_OFFSET_BITS=64 vtoy_fuse_iso.c -o $name $LIBFUSE_DIR/lib/libfuse.a -lpthread -ldl $opt
19
20 if [ -e $name ]; then
21 echo -e "\n############### SUCCESS $name ##################\n"
22 else
23 echo -e "\n############### FAILED $name ##################\n"
24 fi
25
26 strip --strip-all $name
27