VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Build
diff options
context:
space:
mode:
Diffstat (limited to 'src/Build')
-rwxr-xr-xsrc/Build/build_veracrypt_macosx.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Build/build_veracrypt_macosx.sh b/src/Build/build_veracrypt_macosx.sh
index 687da160..aaaae8b5 100755
--- a/src/Build/build_veracrypt_macosx.sh
+++ b/src/Build/build_veracrypt_macosx.sh
@@ -14,14 +14,24 @@ SOURCEPATH=$(cd "$(dirname "$SCRIPTPATH/../.")"; pwd)
# directory where the VeraCrypt project has been checked out
PARENTDIR=$(cd "$(dirname "$SCRIPTPATH/../../../.")"; pwd)
-while getopts bp flag
+while getopts bpf flag
do
case "${flag}" in
b) brew=true;;
p) package=true;;
+ f) fuset=true;;
esac
done
+export VC_OSX_FUSET=0
+
+if [ -n "$fuset" ]; then
+ echo "Building VeraCrypt with FUSE-T support"
+ VC_OSX_FUSET=1
+else
+ echo "Building VeraCrypt with MacFUSE support"
+fi
+
if [ -n "$brew" ]; then
export VC_OSX_SDK=$(xcrun --show-sdk-version) #use the latest version installed, this might fail
export VC_OSX_TARGET=${VC_OSX_SDK}