summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();