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

This commit is contained in:
cyberta
2019-12-17 13:13:05 +01:00
parent 86f2a95884
commit 1b680ba190
+3
View File
@@ -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 \