зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset b0a4653325cc (bug 941565) for Windows bustage.
CLOSED TREE
This commit is contained in:
Родитель
3a5430ba7c
Коммит
99d738b533
|
@ -809,16 +809,17 @@ bool DefineOSFileConstants(JSContext *cx, JS::Handle<JSObject*> global)
|
|||
}
|
||||
|
||||
// Locate libxul
|
||||
// Note that we don't actually provide the full path, only the name of the
|
||||
// library, which is sufficient to link to the library using js-ctypes.
|
||||
{
|
||||
nsAutoString xulPath(gPaths->libDir);
|
||||
|
||||
xulPath.Append(PR_GetDirectorySeparator());
|
||||
|
||||
#if defined(XP_MACOSX)
|
||||
// Under MacOS X, for some reason, libxul is called simply "XUL"
|
||||
nsAutoString xulPath(NS_LITERAL_STRING("XUL"));
|
||||
xulPath.Append(NS_LITERAL_STRING("XUL"));
|
||||
#else
|
||||
// On other platforms, libxul is a library "xul" with regular
|
||||
// library prefix/suffix
|
||||
nsAutoString xulPath();
|
||||
xulPath.Append(NS_LITERAL_STRING(DLL_PREFIX));
|
||||
xulPath.Append(NS_LITERAL_STRING("xul"));
|
||||
xulPath.Append(NS_LITERAL_STRING(DLL_SUFFIX));
|
||||
|
|
Загрузка…
Ссылка в новой задаче