mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 496708 - add biarch system plugin location (Linux); r=joshmoz, sr=roc
This commit is contained in:
parent
249e036bad
commit
79b00e401a
@ -231,7 +231,12 @@ nsAppFileLocationProvider::GetFile(const char *prop, PRBool *persistent, nsIFile
|
||||
}
|
||||
#ifdef XP_UNIX
|
||||
else if (nsCRT::strcmp(prop, NS_SYSTEM_PLUGINS_DIR) == 0) {
|
||||
static const char *const sysLPlgDir = "/usr/lib/mozilla/plugins";
|
||||
static const char *const sysLPlgDir =
|
||||
#if defined(HAVE_USR_LIB64_DIR) && defined(__LP64__)
|
||||
"/usr/lib64/mozilla/plugins";
|
||||
#else
|
||||
"/usr/lib/mozilla/plugins";
|
||||
#endif
|
||||
rv = NS_NewNativeLocalFile(nsDependentCString(sysLPlgDir),
|
||||
PR_FALSE, getter_AddRefs(localFile));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user