Handle the (Unix) platform-specific DLL naming conventions properly.

git-svn-id: svn://10.0.0.236/trunk@33800 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
briano%netscape.com
1999-06-04 22:17:30 +00:00
parent 9b06ae0c8f
commit a5a074461d
31 changed files with 90 additions and 88 deletions

View File

@@ -1595,12 +1595,14 @@ nsresult
nsComponentManagerImpl::AutoRegisterComponent(RegistrationTime when, const char *fullname)
{
const char *ValidDllExtensions[] = {
".dll", /* Windows */
".dso", /* Unix */
".so", /* Unix */
".sl", /* Unix: HP */
".dll", /* Windows */
".dso", /* Unix ? */
".dylib", /* Unix: Rhapsody */
".so", /* Unix */
".so.1.0", /* Unix: BSD */
".sl", /* Unix: HP-UX */
".shlb", /* Mac ? */
".dlm", /* new for all platforms */
".dlm", /* new for all platforms */
NULL
};