mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Look for 'NSPL' as well as 'shlb'. Fix for bug #45697. r=av, sr=scc, a=rtm++.
This commit is contained in:
parent
6bafa9a564
commit
9d1c3322a1
@ -749,7 +749,7 @@ nsNativeComponentLoader::AutoRegisterComponent(PRInt32 when,
|
|||||||
// on Mac, Mozilla shared libraries are of type 'shlb'
|
// on Mac, Mozilla shared libraries are of type 'shlb'
|
||||||
// Note: we don't check the creator (which for Mozilla is 'MOZZ')
|
// Note: we don't check the creator (which for Mozilla is 'MOZZ')
|
||||||
// so that 3rd party shared libraries will be noticed!
|
// so that 3rd party shared libraries will be noticed!
|
||||||
validExtension = (type == 'shlb');
|
validExtension = ((type == 'shlb') || (type == 'NSPL'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user