add 'libcrypto.so' and 'libssl.so' for android; revisions

This commit is contained in:
pls.153 2024-11-21 14:10:18 +01:00
parent c6cd718ef2
commit 2a46ff4098
7 changed files with 14 additions and 5 deletions

View file

@ -75,8 +75,6 @@ android {
ANDROID_EXTRA_LIBS += $$ECL/lib/libecl.so ANDROID_EXTRA_LIBS += $$ECL/lib/libecl.so
ANDROID_PACKAGE_SOURCE_DIR = ../platforms/android ANDROID_PACKAGE_SOURCE_DIR = ../platforms/android
# can be downloaded from:
# https://github.com/KDAB/android_openssl/tree/master/latest
32bit { 32bit {
SSL_PATH = ../../../platforms/android/lib32 SSL_PATH = ../../../platforms/android/lib32
} else { } else {

View file

@ -28,6 +28,13 @@
(defun shell (command) (defun shell (command)
(ext:run-program "sh" (list "-c" command))) (ext:run-program "sh" (list "-c" command)))
#+mobile
(unless (probe-file (cc *assets* "encodings"))
(let ((lib (cc (ext:getenv #+android "ECL_ANDROID" #+ios "ECL_IOS")
"/lib/ecl-*/")))
(shell (cc "cp " lib "*.doc " *assets*))
(shell (cc "cp -r " lib "encodings " *assets*))))
;;; compile ASDF system ;;; compile ASDF system
(require :asdf) (require :asdf)

View file

@ -0,0 +1,2 @@
*
!.gitignore

View file

@ -9,6 +9,10 @@ are present in directory
``` ```
build-android/android-build/libs/arm64-v8a/ build-android/android-build/libs/arm64-v8a/
``` ```
(that is, they should have been copied automatically to above place)
Uninstall any app called 'app' (which you might have previously installed)
before installing this one.
When running the app, it should first display "downloading...", and after a few When running the app, it should first display "downloading...", and after a few
seconds (if the android device is connected to the internet), it should display seconds (if the android device is connected to the internet), it should display

View file

@ -76,14 +76,12 @@ android {
ANDROID_EXTRA_LIBS += $$ECL/lib/libecl.so ANDROID_EXTRA_LIBS += $$ECL/lib/libecl.so
ANDROID_PACKAGE_SOURCE_DIR = ../platforms/android ANDROID_PACKAGE_SOURCE_DIR = ../platforms/android
# optional (not included), can be downloaded from:
# https://github.com/KDAB/android_openssl/tree/master/latest
32bit { 32bit {
SSL_PATH = ../../../platforms/android/lib32 SSL_PATH = ../../../platforms/android/lib32
} else { } else {
SSL_PATH = ../../../platforms/android/lib SSL_PATH = ../../../platforms/android/lib
} }
#ANDROID_EXTRA_LIBS += $$SSL_PATH/libcrypto.so $$SSL_PATH/libssl.so ANDROID_EXTRA_LIBS += $$SSL_PATH/libcrypto.so $$SSL_PATH/libssl.so
32bit { 32bit {
ANDROID_ABIS = "armeabi-v7a" ANDROID_ABIS = "armeabi-v7a"

Binary file not shown.

BIN
platforms/android/lib/libssl.so Executable file

Binary file not shown.