summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenugopal Shivashankar <venugopal.shivashankar@digia.com>2015-11-10 14:51:36 +0100
committerVenugopal Shivashankar <venugopal.shivashankar@digia.com>2015-11-12 09:23:58 +0000
commit22abd7afc725840018c1b7ec50d3cd7b54dfef71 (patch)
treea4e437bad370940704fdf1bb02496e8c2d6b6667
parentf2ebdc79b6daf43f10402a9bd11516f5a41c38d3 (diff)
downloadqtdoc-22abd7afc725840018c1b7ec50d3cd7b54dfef71.tar.gz
Doc: Add steps to build SSL libs without the version no. in soname
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ƶ <topi.reinio@digia.com>
-rw-r--r--doc/src/platforms/android.qdoc21
1 files changed, 21 insertions, 0 deletions
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.