summaryrefslogtreecommitdiff
path: root/xmlsecurity/source
diff options
context:
space:
mode:
authorMert Tumer <mert.tumer@collabora.com>2020-09-30 17:14:59 +0300
committerAndras Timar <andras.timar@collabora.com>2020-10-02 22:54:07 +0200
commit16a7f98f99d334ea865b800e0b32d6fed1483942 (patch)
tree0d0655ee1fd4d4509a3e9b71b52a958418359685 /xmlsecurity/source
parent95969a80308dbe672b387b17ec6beff60fa2efef (diff)
Fix libnssckbi not found error on Android
This error causes Android App to be unable to open Password-protected documents. Change-Id: Iacbacb1c780025752e2447db325b075c58947818 Signed-off-by: Mert Tumer <mert.tumer@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103658 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'xmlsecurity/source')
-rw-r--r--xmlsecurity/source/xmlsec/nss/nssinitializer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
index 1d6dcda2f315..b8acdc059cf8 100644
--- a/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
+++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.cxx
@@ -430,7 +430,7 @@ bool nsscrypto_initialize(css::uno::Reference<css::uno::XComponentContext> const
if (true)
#else
-#if defined SYSTEM_NSS
+#if defined SYSTEM_NSS || defined ANDROID
OUString rootModule("libnssckbi" SAL_DLLEXTENSION);
#else
OUString rootModule("${LO_LIB_DIR}/libnssckbi" SAL_DLLEXTENSION);