diff --git a/ndk-make.sh b/ndk-make.sh index 38c81485d..04e26596c 100755 --- a/ndk-make.sh +++ b/ndk-make.sh @@ -21,6 +21,9 @@ cd jni/deltachat-core-rust # ``` # then, the following should work: +# fix build on MacOS Catalina +unset CPATH + echo "-- cross compiling to armv7-linux-androideabi (arm) --" export CFLAGS=-D__ANDROID_API__=18 TARGET_CC=armv7a-linux-androideabi18-clang \