bug 241296 Add "/usr/lib" for "libatk-bridge.so" searching

r = kyle
sr= henry.jia@sun.com
This commit is contained in:
louie.zhao%sun.com 2004-05-26 04:16:47 +00:00
Родитель 905a587ef8
Коммит 88c431ed99
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -771,7 +771,8 @@ LoadGtkModule(GnomeAccessibilityModule& aModule)
//try to load the module with "gtk-2.0/modules" appended //try to load the module with "gtk-2.0/modules" appended
char *curLibPath = PR_GetLibraryPath(); char *curLibPath = PR_GetLibraryPath();
nsCAutoString libPath(curLibPath); nsCAutoString libPath(curLibPath);
MAI_LOG_DEBUG(("Current Lib path=%s\n", curLibPath)); libPath.Append(":/usr/lib");
MAI_LOG_DEBUG(("Current Lib path=%s\n", libPath.get()));
PR_FreeLibraryName(curLibPath); PR_FreeLibraryName(curLibPath);
PRInt16 loc1 = 0, loc2 = 0; PRInt16 loc1 = 0, loc2 = 0;