From e02f27b0423d85c445b550813b324d98776aee1d Mon Sep 17 00:00:00 2001 From: Denis Kozadaev Date: Sat, 10 Jun 2023 22:14:25 +0300 Subject: SunOS spesific SSL pathes Signed-off-by: Denis Kozadaev (cherry picked from commit ee09921685589497c72a3cb7c11d5c3e1605631d) --- tdeio/kssl/kopenssl.cpp | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'tdeio/kssl') diff --git a/tdeio/kssl/kopenssl.cpp b/tdeio/kssl/kopenssl.cpp index abcd7e0f0..e4c793bfc 100644 --- a/tdeio/kssl/kopenssl.cpp +++ b/tdeio/kssl/kopenssl.cpp @@ -345,7 +345,15 @@ TDEConfig *cfg; libnamesc << "cygcrypto.dll" << "libcrypto.dll" << ""; -#else +#else /* !OpenBSD && !CygWin */ + +#ifdef(Q_OS_SOLARIS) + + libpaths << "/" SYSTEM_LIBDIR KDELIBSUFF "/" + << "/usr/" SYSTEM_LIBDIR KDELIBSUFF "/" + << ""; +#else /* default */ + libpaths #ifdef _AIX << "/opt/freeware/lib/" @@ -358,6 +366,7 @@ TDEConfig *cfg; << "/opt/openssl/" SYSTEM_LIBDIR "/" << "/" SYSTEM_LIBDIR "/" << ""; +#endif /* default */ // FIXME: #define here for the various OS types to optimize libnamess @@ -401,7 +410,7 @@ TDEConfig *cfg; << "libcrypto.so.0" #endif ; -#endif +#endif /* __OpenBSD__ */ for (TQStringList::Iterator it = libpaths.begin(); it != libpaths.end(); -- cgit v1.2.1