summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@nokia.com>2011-05-19 12:42:16 (GMT)
committerPierre Rossi <pierre.rossi@nokia.com>2011-05-19 12:46:00 (GMT)
commit290dcfcbb93733f7308c7676f211bd67a775a56d (patch)
tree5ada69cf6031f51eec4900f2c623a4c6b943980b /src/corelib/plugin
parentd4b722868bbd2b228a877e15e5ca44dd9ad8d94c (diff)
downloadQt-290dcfcbb93733f7308c7676f211bd67a775a56d.zip
Qt-290dcfcbb93733f7308c7676f211bd67a775a56d.tar.gz
Qt-290dcfcbb93733f7308c7676f211bd67a775a56d.tar.bz2
QLibrary: support .so file extension on AIX.
As explained in the doc from IBM: "AIX also supports shared objects with the file name .so". Reviewed-by: Thiago
Diffstat (limited to 'src/corelib/plugin')
-rw-r--r--src/corelib/plugin/qlibrary_unix.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/plugin/qlibrary_unix.cpp b/src/corelib/plugin/qlibrary_unix.cpp
index e32729a..d0fbe92 100644
--- a/src/corelib/plugin/qlibrary_unix.cpp
+++ b/src/corelib/plugin/qlibrary_unix.cpp
@@ -135,12 +135,12 @@ bool QLibraryPrivate::load_sys()
} else {
suffixes << QLatin1String(".sl");
}
-#elif defined(Q_OS_AIX)
- suffixes << ".a";
-
#elif defined(Q_OS_SYMBIAN)
suffixes << QLatin1String(".dll");
#else
+#ifdef Q_OS_AIX
+ suffixes << ".a";
+#endif // Q_OS_AIX
if (!fullVersion.isEmpty()) {
suffixes << QString::fromLatin1(".so.%1").arg(fullVersion);
} else {