Commit b8cce40b authored by sambuca's avatar sambuca

Use static openssl library to avoid linking problems on Android devices

parent 9b04f804
Pipeline #681 failed with stage
in 17 seconds
......@@ -43,8 +43,8 @@ linux-rasp-pi-g++{
android-g++{
DESTDIR=$$PWD/../../../platforms/Android/androidPlugins/Qt5/armeabi-v7a/ #On Android we have a special case where we need to split locations in necessitas of the lib and qmldir, unlike desktop versions.
INCLUDEPATH += /home/mb/project/openssl/openssl-master/include/
LIBS += /home/mb/project/openssl/openssl-master/libssl.so
LIBS += /home/mb/project/openssl/openssl-master/libcrypto.so
LIBS += /home/mb/project/openssl/openssl-master/libssl.a
LIBS += /home/mb/project/openssl/openssl-master/libcrypto.a
}
macx-g++{
......
......@@ -119,8 +119,8 @@ android-g++{
QMLDIR_TARGET=../../../platforms/Android/androidComponents/DceScreenSaver/qmldir
}
INCLUDEPATH += /home/mb/project/openssl/openssl-master/include/
LIBS += /home/mb/project/openssl/openssl-master/libssl.so
LIBS += /home/mb/project/openssl/openssl-master/libcrypto.so
LIBS += /home/mb/project/openssl/openssl-master/libssl.a
LIBS += /home/mb/project/openssl/openssl-master/libcrypto.a
}
linux-g++{
......
......@@ -380,13 +380,11 @@ OTHER_FILES += \
android/src/org/kde/necessitas/origo/QtApplication.java
ANDROID_EXTRA_LIBS += $$_PRO_FILE_PWD_/../../../platforms/Android/androidPlugins/Qt5/armeabi-v7a/libAudioVisual.so #On Android we have a special case where we need to split locations in necessitas of the lib and qmldir, unlike desktop versions.
ANDROID_EXTRA_LIBS += /home/mb/project/openssl/openssl-master/libssl.so
ANDROID_EXTRA_LIBS += /home/mb/project/openssl/openssl-master/libcrypto.so
INCLUDEPATH += /home/mb/project/openssl/openssl-master/include/
LIBS += /home/mb/project/openssl/openssl-master/libssl.so
LIBS += /home/mb/project/openssl/openssl-master/libcrypto.so
# ANDROID_EXTRA_LIBS += /home/mb/project/openssl/openssl-master/libssl.a
# ANDROID_EXTRA_LIBS += /home/mb/project/openssl/openssl-master/libcrypto.a
unix|win32: LIBS += $$PWD/../../../../../../../../../../../../../home/mb/project/openssl/openssl-master/libssl.a
unix|win32: LIBS += $$PWD/../../../../../../../../../../../../../home/mb/project/openssl/openssl-master/libcrypto.a
INCLUDEPATH += $$PWD/../../../../../../../../../../../../../home/mb/project/openssl/openssl-master/include
DEPENDPATH += $$PWD/../../../../../../../../../../../../../home/mb/project/openssl/openssl-master/include
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment