From 22abd7afc725840018c1b7ec50d3cd7b54dfef71 Mon Sep 17 00:00:00 2001 From: Venugopal Shivashankar Date: Tue, 10 Nov 2015 14:51:36 +0100 Subject: Doc: Add steps to build SSL libs without the version no. in soname MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Android doesn't load shared libraries that has version no. in their name. Editing the Makefile generated by the Configure tool is the the easiest way to avoid it. Change-Id: I7999b890ac1fb52363d5bbb3f2b7f6ad2b384b26 Task-number: QTBUG-49316 Reviewed-by: Topi Reiniƶ --- doc/src/platforms/android.qdoc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/src/platforms/android.qdoc b/doc/src/platforms/android.qdoc index 4dbb8af9..43349746 100644 --- a/doc/src/platforms/android.qdoc +++ b/doc/src/platforms/android.qdoc @@ -314,6 +314,27 @@ the APK: See the \l{OpenSSL Configure Options}{SSL configure options} for details about the configurable features. + \li Edit the \e Makefile created by \e Configure to avoid having shared + library names with the version number. Android does not load a library + with version number in the \c .so file name. + + \list a + \li Open the \e Makefile using an editor. + \li Replace the following two lines that appear under "\e{link-shared}" + and "\e{do_$(SHLIB_TARGET)}" make targets: + \badcode +LIBNAME=$$i LIBVERSION=$(SHLIB_MAJOR).$(SHLIB_MINOR) \ +LIBCOMPATVERSIONS=";$(SHLIB_VERSION_HISTORY)" \ + \endcode + + with + + \badcode +LIBNAME=$$i \ + \endcode + \li Save changes to the \e Makefile and close it. + \endlist + \li Run \c{make build_libs} to build the \c libcrypto and \c libssl shared libraries. -- cgit v1.2.1