diff --git a/editor/base/nsEditor.cpp b/editor/base/nsEditor.cpp index 40db34930446..fdf1007afb79 100644 --- a/editor/base/nsEditor.cpp +++ b/editor/base/nsEditor.cpp @@ -124,7 +124,7 @@ static NS_DEFINE_IID(kITextEditFactoryIID, NS_ITEXTEDITORFACTORY_IID); #ifdef XP_MAC #define TRANSACTION_MANAGER_DLL "TRANSACTION_MANAGER_DLL" #else // XP_UNIX -#define TRANSACTION_MANAGER_DLL "libtxmgr.so" +#define TRANSACTION_MANAGER_DLL "libtxmgr"MOZ_DLL_SUFFIX #endif #endif diff --git a/editor/libeditor/base/nsEditor.cpp b/editor/libeditor/base/nsEditor.cpp index 40db34930446..fdf1007afb79 100644 --- a/editor/libeditor/base/nsEditor.cpp +++ b/editor/libeditor/base/nsEditor.cpp @@ -124,7 +124,7 @@ static NS_DEFINE_IID(kITextEditFactoryIID, NS_ITEXTEDITORFACTORY_IID); #ifdef XP_MAC #define TRANSACTION_MANAGER_DLL "TRANSACTION_MANAGER_DLL" #else // XP_UNIX -#define TRANSACTION_MANAGER_DLL "libtxmgr.so" +#define TRANSACTION_MANAGER_DLL "libtxmgr"MOZ_DLL_SUFFIX #endif #endif diff --git a/editor/txmgr/tests/TestTXMgr.cpp b/editor/txmgr/tests/TestTXMgr.cpp index 6e082d9f55c6..1d7959757100 100644 --- a/editor/txmgr/tests/TestTXMgr.cpp +++ b/editor/txmgr/tests/TestTXMgr.cpp @@ -427,7 +427,7 @@ static NS_DEFINE_CID(kCTransactionManagerCID, NS_TRANSACTIONMANAGER_CID); #ifdef XP_MAC #define TRANSACTION_MANAGER_DLL "TRANSACTION_MANAGER_DLL" #else // XP_UNIX -#define TRANSACTION_MANAGER_DLL "libtxmgr.so" +#define TRANSACTION_MANAGER_DLL "libtxmgr"MOZ_DLL_SUFFIX #endif #endif diff --git a/htmlparser/robot/test/RobotMain.cpp b/htmlparser/robot/test/RobotMain.cpp index 31c9b4116063..829290cc2dd6 100644 --- a/htmlparser/robot/test/RobotMain.cpp +++ b/htmlparser/robot/test/RobotMain.cpp @@ -8,7 +8,7 @@ #ifdef XP_PC #define PARSER_DLL "raptorhtmlpars.dll" #else -#define PARSER_DLL "libraptorhtmlpars.so" +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX #endif extern "C" NS_EXPORT int DebugRobot(nsVoidArray * workList, nsIWebShell * ww); diff --git a/htmlparser/src/SelfTest.cpp b/htmlparser/src/SelfTest.cpp index 2e61491ec73d..34da8e47c209 100644 --- a/htmlparser/src/SelfTest.cpp +++ b/htmlparser/src/SelfTest.cpp @@ -34,7 +34,7 @@ #ifdef XP_PC #define PARSER_DLL "raptorhtmlpars.dll" #else -#define PARSER_DLL "libraptorhtmlpars.so" +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX #endif ofstream filelist("filelist.out"); diff --git a/htmlparser/tests/logparse/logparse.cpp b/htmlparser/tests/logparse/logparse.cpp index 8fb498e2f73c..dff745889d8e 100644 --- a/htmlparser/tests/logparse/logparse.cpp +++ b/htmlparser/tests/logparse/logparse.cpp @@ -29,7 +29,7 @@ #ifdef XP_MAC #endif #ifdef XP_UNIX -#define PARSER_DLL "libraptorhtmlpars.so" +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX #endif // Class IID's diff --git a/intl/locale/tests/LocaleSelfTest.cpp b/intl/locale/tests/LocaleSelfTest.cpp index 108cd0f01d5a..49deba9861b1 100644 --- a/intl/locale/tests/LocaleSelfTest.cpp +++ b/intl/locale/tests/LocaleSelfTest.cpp @@ -47,10 +47,10 @@ #define UCVLATIN_DLL "ucvlatin.dll" #define UNICHARUTIL_DLL_NAME "unicharutil.dll" #else -#define LOCALE_DLL_NAME "libnslocale.so" -#define UCONV_DLL "libuconv.so" -#define UCVLATIN_DLL "libucvlatin.so" -#define UNICHARUTIL_DLL_NAME "libunicharutil.so" +#define LOCALE_DLL_NAME "libnslocale"MOZ_DLL_SUFFIX +#define UCONV_DLL "libuconv"MOZ_DLL_SUFFIX +#define UCVLATIN_DLL "libucvlatin"MOZ_DLL_SUFFIX +#define UNICHARUTIL_DLL_NAME "libunicharutil"MOZ_DLL_SUFFIX #endif diff --git a/intl/lwbrk/tests/TestLineBreak.cpp b/intl/lwbrk/tests/TestLineBreak.cpp index c2e1a58e9b0d..485672109355 100644 --- a/intl/lwbrk/tests/TestLineBreak.cpp +++ b/intl/lwbrk/tests/TestLineBreak.cpp @@ -372,7 +372,7 @@ PRBool TestWordBreaker() #define LWBRK_DLL "LWBRK_DLL" #else #endif -#define LWBRK_DLL "liblwbrk.so" +#define LWBRK_DLL "liblwbrk"MOZ_DLL_SUFFIX #endif extern "C" void NS_SetupRegistry() diff --git a/intl/strres/tests/StringBundleTest.cpp b/intl/strres/tests/StringBundleTest.cpp index 68874fea81d9..57c8bb4da175 100644 --- a/intl/strres/tests/StringBundleTest.cpp +++ b/intl/strres/tests/StringBundleTest.cpp @@ -34,7 +34,7 @@ #ifdef XP_MAC #include "nsMacRepository.h" #else -#define NETLIB_DLL "libnetlib.so" +#define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX #endif #endif diff --git a/intl/unicharutil/tests/UnicharSelfTest.cpp b/intl/unicharutil/tests/UnicharSelfTest.cpp index 5395913eb3ad..c42f34a994bb 100644 --- a/intl/unicharutil/tests/UnicharSelfTest.cpp +++ b/intl/unicharutil/tests/UnicharSelfTest.cpp @@ -26,7 +26,7 @@ NS_DEFINE_CID(kUnicharUtilCID, NS_UNICHARUTIL_CID); NS_DEFINE_IID(kCaseConversionIID, NS_ICASECONVERSION_IID); #ifdef XP_UNIX -#define UNICHARUTIL_DLL_NAME "libunicharutil.so" +#define UNICHARUTIL_DLL_NAME "libunicharutil"MOZ_DLL_SUFFIX #else #define UNICHARUTIL_DLL_NAME "UNICHARUTIL_DLL" #endif diff --git a/js/src/xpconnect/shell/xpcshell.cpp b/js/src/xpconnect/shell/xpcshell.cpp index 75e23ca5c061..00834fbf5dc0 100644 --- a/js/src/xpconnect/shell/xpcshell.cpp +++ b/js/src/xpconnect/shell/xpcshell.cpp @@ -63,7 +63,7 @@ static NS_DEFINE_IID(kAllocatorCID, NS_ALLOCATOR_CID); #ifdef XP_MAC #define XPCOM_DLL "XPCOM_DLL" #else -#define XPCOM_DLL "libxpcom.so" +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #endif #endif diff --git a/js/src/xpconnect/tests/TestXPC.cpp b/js/src/xpconnect/tests/TestXPC.cpp index e3c92c66769e..fe105c26e7cc 100644 --- a/js/src/xpconnect/tests/TestXPC.cpp +++ b/js/src/xpconnect/tests/TestXPC.cpp @@ -48,7 +48,7 @@ static NS_DEFINE_IID(kAllocatorCID, NS_ALLOCATOR_CID); #ifdef XP_MAC #define XPCOM_DLL "XPCOM_DLL" #else -#define XPCOM_DLL "libxpcom.so" +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #endif #endif diff --git a/layout/html/tests/TestCSSParser.cpp b/layout/html/tests/TestCSSParser.cpp index 63933b7945bb..55bdd71e82cc 100644 --- a/layout/html/tests/TestCSSParser.cpp +++ b/layout/html/tests/TestCSSParser.cpp @@ -42,9 +42,9 @@ #ifdef XP_MAC #include "nsMacRepository.h" #else -#define NETLIB_DLL "libnetlib.so" -#define XPCOM_DLL "libxpcom.so" -#define LAYOUT_DLL "libraptorhtml.so" +#define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX +#define LAYOUT_DLL "libraptorhtml"MOZ_DLL_SUFFIX #endif #endif diff --git a/network/module/tests/nettest.cpp b/network/module/tests/nettest.cpp index 1439aad96026..0a24d54da741 100644 --- a/network/module/tests/nettest.cpp +++ b/network/module/tests/nettest.cpp @@ -50,8 +50,8 @@ PRBool bLoadAsync; #ifdef XP_MAC #include "nsMacRepository.h" #else -#define NETLIB_DLL "libnetlib.so" -#define XPCOM_DLL "libxpcom.so" +#define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #endif #endif diff --git a/network/module/tests/transportTest.cpp b/network/module/tests/transportTest.cpp index e72ebc709d1c..ea1286ac5ca6 100644 --- a/network/module/tests/transportTest.cpp +++ b/network/module/tests/transportTest.cpp @@ -63,7 +63,7 @@ PRBool bLoadAsync; #ifdef XP_MAC #include "nsMacRepository.h" #else -#define NETLIB_DLL "libnetlib.so" +#define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX #endif #endif diff --git a/parser/htmlparser/robot/test/RobotMain.cpp b/parser/htmlparser/robot/test/RobotMain.cpp index 31c9b4116063..829290cc2dd6 100644 --- a/parser/htmlparser/robot/test/RobotMain.cpp +++ b/parser/htmlparser/robot/test/RobotMain.cpp @@ -8,7 +8,7 @@ #ifdef XP_PC #define PARSER_DLL "raptorhtmlpars.dll" #else -#define PARSER_DLL "libraptorhtmlpars.so" +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX #endif extern "C" NS_EXPORT int DebugRobot(nsVoidArray * workList, nsIWebShell * ww); diff --git a/parser/htmlparser/src/SelfTest.cpp b/parser/htmlparser/src/SelfTest.cpp index 2e61491ec73d..34da8e47c209 100644 --- a/parser/htmlparser/src/SelfTest.cpp +++ b/parser/htmlparser/src/SelfTest.cpp @@ -34,7 +34,7 @@ #ifdef XP_PC #define PARSER_DLL "raptorhtmlpars.dll" #else -#define PARSER_DLL "libraptorhtmlpars.so" +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX #endif ofstream filelist("filelist.out"); diff --git a/parser/htmlparser/tests/logparse/logparse.cpp b/parser/htmlparser/tests/logparse/logparse.cpp index 8fb498e2f73c..dff745889d8e 100644 --- a/parser/htmlparser/tests/logparse/logparse.cpp +++ b/parser/htmlparser/tests/logparse/logparse.cpp @@ -29,7 +29,7 @@ #ifdef XP_MAC #endif #ifdef XP_UNIX -#define PARSER_DLL "libraptorhtmlpars.so" +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX #endif // Class IID's diff --git a/rdf/brprof/server/nsBrowsingProfileReader.cpp b/rdf/brprof/server/nsBrowsingProfileReader.cpp index efb9e0876f1a..1dc5cf1d4aef 100644 --- a/rdf/brprof/server/nsBrowsingProfileReader.cpp +++ b/rdf/brprof/server/nsBrowsingProfileReader.cpp @@ -403,12 +403,12 @@ nsBrowsingProfileReader::GetCategory(PRInt32 aCategoryID, nsXPIDLCString& aCateg #define RDF_DLL "rdf.dll" #define XPCOM_DLL "xpcom32.dll" #elif defined(XP_UNIX) -#define DOM_DLL "libjsdom.so" -#define LAYOUT_DLL "libraptorhtml.so" -#define NETLIB_DLL "libnetlib.so" -#define PARSER_DLL "libraptorhtmlpars.so" -#define RDF_DLL "librdf.so" -#define XPCOM_DLL "libxpcom.so" +#define DOM_DLL "libjsdom"MOZ_DLL_SUFFIX +#define LAYOUT_DLL "libraptorhtml"MOZ_DLL_SUFFIX +#define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX +#define RDF_DLL "librdf"MOZ_DLL_SUFFIX +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #elif defined(XP_MAC) #define DOM_DLL "DOM_DLL" #define LAYOUT_DLL "LAYOUT_DLL" diff --git a/rdf/tests/localfile/localfile.cpp b/rdf/tests/localfile/localfile.cpp index 8e26aa27670d..fee8ce75068b 100644 --- a/rdf/tests/localfile/localfile.cpp +++ b/rdf/tests/localfile/localfile.cpp @@ -68,12 +68,12 @@ #define RDF_DLL "rdf.dll" #define XPCOM_DLL "xpcom32.dll" #elif defined(XP_UNIX) -#define DOM_DLL "libjsdom.so" -#define LAYOUT_DLL "libraptorhtml.so" -#define NETLIB_DLL "libnetlib.so" -#define PARSER_DLL "libraptorhtmlpars.so" -#define RDF_DLL "librdf.so" -#define XPCOM_DLL "libxpcom.so" +#define DOM_DLL "libjsdom"MOZ_DLL_SUFFIX +#define LAYOUT_DLL "libraptorhtml"MOZ_DLL_SUFFIX +#define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX +#define RDF_DLL "librdf"MOZ_DLL_SUFFIX +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #elif defined(XP_MAC) #define DOM_DLL "DOM_DLL" #define LAYOUT_DLL "LAYOUT_DLL" diff --git a/rdf/tests/rdfcat/rdfcat.cpp b/rdf/tests/rdfcat/rdfcat.cpp index 7a0908ebc395..a7b12ff1dbf2 100644 --- a/rdf/tests/rdfcat/rdfcat.cpp +++ b/rdf/tests/rdfcat/rdfcat.cpp @@ -61,12 +61,12 @@ #define RDF_DLL "rdf.dll" #define XPCOM_DLL "xpcom32.dll" #elif defined(XP_UNIX) -#define DOM_DLL "libjsdom.so" -#define LAYOUT_DLL "libraptorhtml.so" -#define NETLIB_DLL "libnetlib.so" -#define PARSER_DLL "libraptorhtmlpars.so" -#define RDF_DLL "librdf.so" -#define XPCOM_DLL "libxpcom.so" +#define DOM_DLL "libjsdom"MOZ_DLL_SUFFIX +#define LAYOUT_DLL "libraptorhtml"MOZ_DLL_SUFFIX +#define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX +#define RDF_DLL "librdf"MOZ_DLL_SUFFIX +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #elif defined(XP_MAC) #define DOM_DLL "DOM_DLL" #define LAYOUT_DLL "LAYOUT_DLL" diff --git a/rdf/tests/rdfpoll/rdfpoll.cpp b/rdf/tests/rdfpoll/rdfpoll.cpp index 29da05e6b9d8..ed9c97684091 100644 --- a/rdf/tests/rdfpoll/rdfpoll.cpp +++ b/rdf/tests/rdfpoll/rdfpoll.cpp @@ -62,12 +62,12 @@ #define RDF_DLL "rdf.dll" #define XPCOM_DLL "xpcom32.dll" #elif defined(XP_UNIX) -#define DOM_DLL "libjsdom.so" -#define LAYOUT_DLL "libraptorhtml.so" -#define NETLIB_DLL "libnetlib.so" -#define PARSER_DLL "libraptorhtmlpars.so" -#define RDF_DLL "librdf.so" -#define XPCOM_DLL "libxpcom.so" +#define DOM_DLL "libjsdom"MOZ_DLL_SUFFIX +#define LAYOUT_DLL "libraptorhtml"MOZ_DLL_SUFFIX +#define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX +#define RDF_DLL "librdf"MOZ_DLL_SUFFIX +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #elif defined(XP_MAC) #define DOM_DLL "DOM_DLL" #define LAYOUT_DLL "LAYOUT_DLL" diff --git a/rdf/tests/rdfsink/rdfsink.cpp b/rdf/tests/rdfsink/rdfsink.cpp index b8b0fc5b15cd..25c29d868ffb 100644 --- a/rdf/tests/rdfsink/rdfsink.cpp +++ b/rdf/tests/rdfsink/rdfsink.cpp @@ -48,12 +48,12 @@ #define RDF_DLL "rdf.dll" #define XPCOM_DLL "xpcom32.dll" #elif defined(XP_UNIX) -#define DOM_DLL "libjsdom.so" -#define LAYOUT_DLL "libraptorhtml.so" -#define NETLIB_DLL "libnetlib.so" -#define PARSER_DLL "libraptorhtmlpars.so" -#define RDF_DLL "librdf.so" -#define XPCOM_DLL "libxpcom.so" +#define DOM_DLL "libjsdom"MOZ_DLL_SUFFIX +#define LAYOUT_DLL "libraptorhtml"MOZ_DLL_SUFFIX +#define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX +#define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX +#define RDF_DLL "librdf"MOZ_DLL_SUFFIX +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #elif defined(XP_MAC) #define DOM_DLL "DOM_DLL" #define LAYOUT_DLL "LAYOUT_DLL" diff --git a/webshell/embed/gtk/lib/nsSetupRegistry.cpp b/webshell/embed/gtk/lib/nsSetupRegistry.cpp index 6ff6808d4fce..097895364682 100644 --- a/webshell/embed/gtk/lib/nsSetupRegistry.cpp +++ b/webshell/embed/gtk/lib/nsSetupRegistry.cpp @@ -104,35 +104,35 @@ #define STRRES_DLL "STRRES_DLL" #define UNICHARUTIL_DLL "UNICHARUTIL_DLL" #else - #define XPCOM_DLL "libxpcom.so" + #define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX /** Currently CFLAGS defines WIDGET_DLL and GFXWIN_DLL. If, for some * reason, the cflags value doesn't get defined, use gtk, * since that is the default. **/ #ifndef WIDGET_DLL - #define WIDGET_DLL "libwidgetgtk.so" + #define WIDGET_DLL "libwidgetgtk"MOZ_DLL_SUFFIX #endif #ifndef GFXWIN_DLL - #define GFXWIN_DLL "libgfxgtk.so" + #define GFXWIN_DLL "libgfxgtk"MOZ_DLL_SUFFIX #endif - #define VIEW_DLL "libraptorview.so" - #define WEB_DLL "libraptorwebwidget.so" - #define PLUGIN_DLL "libraptorplugin.so" - #define CAPS_DLL "libcaps.so" - #define LIVECONNECT_DLL "libliveconnect.so" - #define OJI_DLL "liboji.so" - #define PREF_DLL "libpref.so" - #define PARSER_DLL "libraptorhtmlpars.so" - #define DOM_DLL "libjsdom.so" - #define NETLIB_DLL "libnetlib.so" - #define EDITOR_DLL "libender.so" - #define RDF_DLL "librdf.so" - #define UCONV_DLL "libuconv.so" - #define UCVLATIN_DLL "libucvlatin.so" - #define UCVJA_DLL "libucvja.so" - #define UCVJA2_DLL "libucvja2.so" - #define STRRES_DLL "libstrres.so" - #define UNICHARUTIL_DLL "libunicharutil.so" + #define VIEW_DLL "libraptorview"MOZ_DLL_SUFFIX + #define WEB_DLL "libraptorwebwidget"MOZ_DLL_SUFFIX + #define PLUGIN_DLL "libraptorplugin"MOZ_DLL_SUFFIX + #define CAPS_DLL "libcaps"MOZ_DLL_SUFFIX + #define LIVECONNECT_DLL "libliveconnect"MOZ_DLL_SUFFIX + #define OJI_DLL "liboji"MOZ_DLL_SUFFIX + #define PREF_DLL "libpref"MOZ_DLL_SUFFIX + #define PARSER_DLL "libraptorhtmlpars"MOZ_DLL_SUFFIX + #define DOM_DLL "libjsdom"MOZ_DLL_SUFFIX + #define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX + #define EDITOR_DLL "libender"MOZ_DLL_SUFFIX + #define RDF_DLL "librdf"MOZ_DLL_SUFFIX + #define UCONV_DLL "libuconv"MOZ_DLL_SUFFIX + #define UCVLATIN_DLL "libucvlatin"MOZ_DLL_SUFFIX + #define UCVJA_DLL "libucvja"MOZ_DLL_SUFFIX + #define UCVJA2_DLL "libucvja2"MOZ_DLL_SUFFIX + #define STRRES_DLL "libstrres"MOZ_DLL_SUFFIX + #define UNICHARUTIL_DLL "libunicharutil"MOZ_DLL_SUFFIX #endif // Class ID's diff --git a/widget/tests/scribble/Scribble.cpp b/widget/tests/scribble/Scribble.cpp index 78a968b5320c..fa09c9316df7 100644 --- a/widget/tests/scribble/Scribble.cpp +++ b/widget/tests/scribble/Scribble.cpp @@ -71,7 +71,7 @@ static nsIImageRequest *gImageReq = nsnull; #endif #ifdef XP_UNIX -#define XPCOM_DLL "libxpcom.so" +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #define TEXT_HEIGHT 30 #define FILE_URL_PREFIX "file://" #endif diff --git a/widget/tests/widget/nsWidgetTest.cpp b/widget/tests/widget/nsWidgetTest.cpp index 34f169114f6d..4546cff4f7f6 100644 --- a/widget/tests/widget/nsWidgetTest.cpp +++ b/widget/tests/widget/nsWidgetTest.cpp @@ -100,12 +100,12 @@ char * gFailedMsg = NULL; #endif #ifdef XP_UNIX -#define XPCOM_DLL "libxpcom.so" +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #ifndef WIDGET_DLL -#define WIDGET_DLL "libwidgetgtk.so" +#define WIDGET_DLL "libwidgetgtk"MOZ_DLL_SUFFIX #endif #ifndef GFX_DLL -#define GFX_DLL "libgfxgtk.so" +#define GFX_DLL "libgfxgtk"MOZ_DLL_SUFFIX #endif #define TEXT_HEIGHT 30 #endif diff --git a/xpcom/components/nsComponentManager.cpp b/xpcom/components/nsComponentManager.cpp index c8678e180439..d7a32072e20a 100644 --- a/xpcom/components/nsComponentManager.cpp +++ b/xpcom/components/nsComponentManager.cpp @@ -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 }; diff --git a/xpcom/proxy/tests/proxytests.cpp b/xpcom/proxy/tests/proxytests.cpp index d8684b78878e..4e39ecdf7281 100644 --- a/xpcom/proxy/tests/proxytests.cpp +++ b/xpcom/proxy/tests/proxytests.cpp @@ -82,7 +82,7 @@ static NS_DEFINE_IID(kAllocatorCID, NS_ALLOCATOR_CID); #ifdef XP_MAC #define XPCOM_DLL "XPCOM_DLL" #else -#define XPCOM_DLL "libxpcom.so" +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #endif #endif diff --git a/xpcom/reflect/xptinfo/tests/TestInterfaceInfo.cpp b/xpcom/reflect/xptinfo/tests/TestInterfaceInfo.cpp index 47ff927b3da3..3df13bd1f787 100644 --- a/xpcom/reflect/xptinfo/tests/TestInterfaceInfo.cpp +++ b/xpcom/reflect/xptinfo/tests/TestInterfaceInfo.cpp @@ -140,7 +140,7 @@ static NS_DEFINE_IID(kAllocatorCID, NS_ALLOCATOR_CID); #ifdef XP_MAC #define XPCOM_DLL "XPCOM_DLL" #else -#define XPCOM_DLL "libxpcom.so" +#define XPCOM_DLL "libxpcom"MOZ_DLL_SUFFIX #endif #endif diff --git a/xpcom/tests/PropertiesTest.cpp b/xpcom/tests/PropertiesTest.cpp index c9ab43062723..1779e1c9ae46 100644 --- a/xpcom/tests/PropertiesTest.cpp +++ b/xpcom/tests/PropertiesTest.cpp @@ -36,7 +36,7 @@ #ifdef XP_MAC #define NETLIB_DLL "NETLIB_DLL" #else -#define NETLIB_DLL "libnetlib.so" +#define NETLIB_DLL "libnetlib"MOZ_DLL_SUFFIX #endif #endif static NS_DEFINE_IID(kEventQueueCID, NS_EVENTQUEUE_CID); diff --git a/xpcom/tests/TestFactory.cpp b/xpcom/tests/TestFactory.cpp index f7921f8f1328..0e82a9df42a0 100644 --- a/xpcom/tests/TestFactory.cpp +++ b/xpcom/tests/TestFactory.cpp @@ -148,7 +148,7 @@ extern "C" void RegisterTestFactories() { // Windows can use persistant registry #ifndef USE_NSREG nsComponentManager::RegisterComponent(kTestLoadedFactoryCID, NULL, NULL, - "libtestdynamic.so", + "libtestdynamic"MOZ_DLL_SUFFIX, PR_FALSE, PR_TRUE); #endif