summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorDenis Kozadaev <denis@dilos.org>2023-06-10 22:14:25 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-12 16:52:22 +0900
commitee09921685589497c72a3cb7c11d5c3e1605631d (patch)
treea704ad658d7402b0cf0a30359d05129fce3f4b35 /tdeio
parentde0664d904516590b4a9bf88615461137ae879bd (diff)
downloadtdelibs-ee09921685589497c72a3cb7c11d5c3e1605631d.tar.gz
tdelibs-ee09921685589497c72a3cb7c11d5c3e1605631d.zip
SunOS spesific SSL pathes
Signed-off-by: Denis Kozadaev <denis@dilos.org>
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/kssl/kopenssl.cpp13
1 files changed, 11 insertions, 2 deletions
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();