I did this
Custom compile script for Android, compiling for mips64 fails due to CURL_SIZEOF_LONG not matching sizeof(long)
I expected the following
curlbuild.h line 532 defined(__mips__) is true for both 32 and 64 bit mips when compiling for Android, changing it to (defined(__mips__) && !defined(__LP64__)) fixes it.
curl/libcurl version
version 7.48
OS version
Compiling for Android in Windows 7