mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
add 'libcrypto.so' and 'libssl.so' for android; revisions
This commit is contained in:
parent
c6cd718ef2
commit
2a46ff4098
7 changed files with 14 additions and 5 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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)
|
||||||
|
|
|
||||||
2
examples/.android-ssl-test/platforms/android/assets/lib/.gitignore
vendored
Normal file
2
examples/.android-ssl-test/platforms/android/assets/lib/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
BIN
platforms/android/lib/libcrypto.so
Executable file
BIN
platforms/android/lib/libcrypto.so
Executable file
Binary file not shown.
BIN
platforms/android/lib/libssl.so
Executable file
BIN
platforms/android/lib/libssl.so
Executable file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue