Bug 456541 add /usr/lib64 for loading atk-bridge library on Linux x64, r=aaronleventhal

This commit is contained in:
Ginn Chen 2008-09-28 20:52:57 +08:00
parent a39e457b50
commit bc14e471af

View File

@ -721,7 +721,11 @@ LoadGtkModule(GnomeAccessibilityModule& aModule)
//try to load the module with "gtk-2.0/modules" appended
char *curLibPath = PR_GetLibraryPath();
nsCAutoString libPath(curLibPath);
#if defined(LINUX) && defined(__x86_64__)
libPath.Append(":/usr/lib64:/usr/lib");
#else
libPath.Append(":/usr/lib");
#endif
MAI_LOG_DEBUG(("Current Lib path=%s\n", libPath.get()));
PR_FreeLibraryName(curLibPath);