summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kelakon.pro9
1 files changed, 9 insertions, 0 deletions
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