summaryrefslogtreecommitdiff
path: root/kelakon.pro
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-08-25 10:51:06 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-08-25 10:51:06 +0800
commit6be07cabf768c5bdc11c14a750281e1c7b8b62ec (patch)
treedd287fcbc430537905a0fa0220eccbd9cb86b3ab /kelakon.pro
parentc3abee20a084b3669d648077086105672cee6564 (diff)
ARM64 Android settings for cURL
Diffstat (limited to 'kelakon.pro')
-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