Commit Graph
52 Commits
Author SHA1 Message Date
Dominik BernerandBogDan Vatra 8cd5e081af Build script creates symlinks as well 2023-11-28 11:05:43 +02:00
Dominik BernerandBogDan Vatra 5c0e9a5228 Add symbolic links so cmake can find the shared libraries 2023-11-28 11:05:43 +02:00
Dominik BernerandBogDan Vatra 5dece53f62 Set OPENSSL_ROOT_DIR for cmake if not set
This will allow people to use find_package(OpenSSL) in their root CMakeLists.txt
after including the cmake files
2023-11-28 11:05:43 +02:00
Assam BoudjelthiaandGitHub 7f5f34d160 Bring back CMakeLists.txt for compability (#54)
This file is being used by other parties (users, IDEs), so
keep it around for compatibility.
2023-06-30 14:59:56 +03:00
AdamandGitHub 8df104940f Add a CMake function to include the OpenSSL libs for specific targets (#48)
Changes include:
* Rename CMakeLists.txt to android_openssl.cmake
* Move the CMake code into a function android_add_openssl_to_targets(), so that the caller can decide what targets get the OpenSSL libs
* update README
2023-06-20 19:56:20 +03:00
BogDan VatraandAssam Boudjelthia 74e464a98b Recompile libs 2023-06-19 21:38:19 +03:00
Assam BoudjelthiaandAssam Boudjelthia 4c2f6daad9 Add some notes about the build script to README.md 2023-06-19 21:38:19 +03:00
Assam BoudjelthiaandAssam Boudjelthia 3df6b5f37c Fix patchelf operations for OpenSSL 3.x
The previous refactoring commit 841f289 changed that command by
prepending relative path to the libs files, and that seem to break
what we try to achieve with patchelf. This reverts that part.
2023-06-19 21:38:19 +03:00
Assam BoudjelthiaandAssam Boudjelthia 5b9a936349 Fix build script case when building an OpenSSL 3.0.x version
If building for an OpenSSL version that doesn't start with 3.1.x, like
3.0.7, the script fails to set ANDROID_API value and the build fails.
This makes the script more inclusive for other OpenSSL 3.x.x versions.
2023-06-19 21:38:19 +03:00
BogDan VatraandGitHub de37220440 Bump ssl versions
* version 1.1.1t to 1.1.1u with NDK 21.4.7075529
* version 3.1.0 to 3.1.1 with NDK 25.2.9519653

Fixed: #47
2023-06-15 15:09:49 +03:00
Assam BoudjelthiaandBogDan Vatra 841f28981d Refactor the build script
* Refactor the build script to be more readable by using funcitons
* Forward configure and build output to log files
* Add more progress messages and print only stderr to the
  console while building
* Build Openssl 1.1 for API 21 and OpenSSL 3.1 for 23
* Tested the script on macOS (needs bash version 4+)
2023-06-11 09:09:38 +03:00
Daniel NicolettiandBogDan Vatra 82c850cbc6 Fix CMake usage instructions
fixes #44
closes #45
2023-05-09 12:29:57 +03:00
BogDan Vatra ef412c6ebf Fix openssl qmake usage
Fixed #40
2023-04-19 16:12:22 +03:00
BogDan Vatra b1c42de035 Fixed a few CMake issues
- use CMAKE_ANDROID_ARCH_ABI instead of ANDROID_TARGET_ARCH
- set QT_ANDROID_EXTRA_LIBS target property

Fixed: #41, #42
2023-04-18 15:57:22 +03:00
BogDan Vatra 8597b45107 Quite a few changes
- Nuke the support for super old Qt versions
 - Simplify a lot openssl.pri and CMakeLists.txt
 - Use latest OpenSSL 1.1.1 version
 - Add OpenSSL 3.x support needed for Qt 6.5

Close: #25, #36, #37, #39
2023-04-13 15:10:04 +03:00
Kambiz AsadzadehandBogDan Vatra f5d857ef1d Update CMakeLists.txt 2023-02-27 14:19:08 +02:00
Kambiz AsadzadehandBogDan Vatra ce3664dc7f Update CMakeLists.txt 2023-02-27 14:19:08 +02:00
Kambiz AsadzadehandBogDan Vatra 1607599785 Update CMakeLists.txt 2023-02-27 14:19:08 +02:00
Kambiz AsadzadehandBogDan Vatra 4843961773 Update CMakeLists.txt 2023-02-27 14:19:08 +02:00
Kambiz AsadzadehandBogDan Vatra 2d9c5adb3d Update CMakeLists.txt
Solving the problem of copying files in Qt6 for CMake.
2023-02-27 14:19:08 +02:00
BogDan Vatra aef7ae266e Update OpenSSL to 1.1.1n
Close #29
2023-01-27 20:19:38 +02:00
BogDan Vatra aa3c67c591 Update OpenSSL to 1.1.1l 1.1.1l_1.0.2u 2021-09-30 08:43:36 +03:00
BogDan Vatra 2d27c9e142 Update OpenSSL to 1.1.1k 1.1.1k_1.0.2u 2021-04-20 18:51:14 +03:00
Konstantin RittandBogDan Vatra eb8c415bfb Fix dependency resolution for Qt of version < 5.13.0
lessThan(5.12.10, 5.12.4) returns true
2021-01-26 10:08:32 +02:00
MarkusandBogDan Vatra b47b98cc35 Update CMakeLists.txt
This change is needed in order to be able to debug with Qt Creator on my Windows host.
2021-01-26 10:07:25 +02:00