more linux fixes - link against the right libraries, include xp_time.c, etc.
git-svn-id: svn://10.0.0.236/trunk@23656 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -24,7 +24,7 @@ include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
MODULE=mime
|
||||
LIBRARY_NAME=mime
|
||||
|
||||
IS_COMPONENT=1
|
||||
EXPORTS = nsRFC822toHTMLStreamConverter.h \
|
||||
nsMimeObjectClassAccess.h \
|
||||
nsMimeHeaderConverter.h \
|
||||
@@ -93,6 +93,17 @@ CSRCS = \
|
||||
oldxp.c \
|
||||
$(NULL)
|
||||
|
||||
EXTRA_DSO_LDOPTS = \
|
||||
-L$(DIST)/bin \
|
||||
$(NSPR_LIBS) \
|
||||
-ljs \
|
||||
-lraptorbase \
|
||||
-lpref \
|
||||
-lsecfree \
|
||||
-lxp \
|
||||
-lxpcom \
|
||||
$(NULL)
|
||||
|
||||
#
|
||||
# THIS WILL NEED WORK AFTER WE GET A LIBMSG MORE XP-COM-afied
|
||||
# mimedrft.c \
|
||||
|
||||
@@ -228,9 +228,7 @@ extern "C" NS_EXPORT nsresult NSRegisterSelf(nsISupports* aServMgr, const char *
|
||||
(nsISupports**)&compMgr);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
printf("*** Mime being registered\n");
|
||||
#endif
|
||||
|
||||
// Content type handler object class access interface
|
||||
rv = compMgr->RegisterComponent(kCMimeMimeObjectClassAccessCID, NULL, NULL, path,
|
||||
|
||||
@@ -26,10 +26,10 @@
|
||||
/* RICHIE - THIS HACK MUST GO!!! - INCLUDING FILE TO TRY TO KEEP DIRECTORY CLEAN */
|
||||
#ifdef XP_UNIX
|
||||
#define PUBLIC
|
||||
#else
|
||||
#include "..\..\..\lib\xp\xp_time.c"
|
||||
#endif
|
||||
|
||||
#include "../../../lib/xp/xp_time.c"
|
||||
|
||||
PUBLIC void *
|
||||
FE_SetTimeout(TimeoutCallbackFunction func, void * closure, uint32 msecs)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user