From 1b680ba190d0078af4c55bac84f66a79ecc53cde Mon Sep 17 00:00:00 2001 From: cyberta Date: Tue, 17 Dec 2019 13:13:05 +0100 Subject: [PATCH] fix builds for MacOSX Catalina. CPATH needs to be set in order to compile deltachat iOS whareas deltachat android builds fail if CPATH is set --- ndk-make.sh | 3 +++ 1 file changed, 3 insertions(+) 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 \