From 290dcfcbb93733f7308c7676f211bd67a775a56d Mon Sep 17 00:00:00 2001 From: Pierre Rossi Date: Thu, 19 May 2011 14:42:16 +0200 Subject: 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 --- src/corelib/plugin/qlibrary_unix.cpp | 6 +++--- 1 file 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 { -- cgit v0.12