From 6be07cabf768c5bdc11c14a750281e1c7b8b62ec Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Sun, 25 Aug 2019 10:51:06 +0800 Subject: ARM64 Android settings for cURL --- kelakon.pro | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kelakon.pro b/kelakon.pro index 0892052..61a0b3a 100644 --- a/kelakon.pro +++ b/kelakon.pro @@ -11,6 +11,15 @@ SOURCES += \ RESOURCES += kelakon.qrc +contains(ANDROID_TARGET_ARCH,arm64-v8a) { + QMAKE_CFLAGS += -I/usr/local/aarch64-linux-android/sysroot/usr/include + LIBS += -L/usr/local/aarch64-linux-android/sysroot/usr/lib + ANDROID_EXTRA_LIBS += \ + /usr/local/aarch64-linux-android/sysroot/usr/lib/libcrypto.so \ + /usr/local/aarch64-linux-android/sysroot/usr/lib/libssl.so \ + /usr/local/aarch64-linux-android/sysroot/usr/lib/libcurl.so +} + contains(ANDROID_TARGET_ARCH,armeabi-v7a) { QMAKE_CFLAGS += -I/usr/local/arm-linux-androideabi/sysroot/usr/include LIBS += -L/usr/local/arm-linux-androideabi/sysroot/usr/lib -- cgit v1.2.3