...
 
...@@ -24,6 +24,18 @@ cd sequoia ...@@ -24,6 +24,18 @@ cd sequoia
SEQUOIA_DIR=$PWD SEQUOIA_DIR=$PWD
#####################################################################
# Workaround
# for warning: dropping unsupported crate type `cdylib` for target `aarch64-apple-ios`
# Currently commented out. It seems to build fine even dropping the above mentioned crate type.
#####################################################################
# rm the line ..-
#PROBLEM_TOML_FILE=$SEQUOIA_DIR/openpgp-ffi/Cargo.toml
#printf -v escapedSearchTerm "%q" "\"cdylib\", "
#sed -i.bak "/${escapedSearchTerm}/ d" $PROBLEM_TOML_FILE
## ... and replace it with a working version (without cdylib)
#echo "crate-type = [\"lib\", \"staticlib\"]" >> $PROBLEM_TOML_FILE
##################################################################### #####################################################################
# Get dependency sources # Get dependency sources
##################################################################### #####################################################################
......