Commenting out the component registration didn't do what I expected. So, I'll unset the IS_COMPONENT flag in Makefile.in to keep the .so from being copied to the components directory at on on Unix

git-svn-id: svn://10.0.0.236/trunk@29050 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jband%netscape.com 1999-04-24 09:40:51 +00:00
parent 2c6e952761
commit 847f304920
2 changed files with 2 additions and 4 deletions

View File

@ -28,7 +28,7 @@ include $(topsrcdir)/config/config.mk
LIBRARY_NAME=xpconnect
MODULE=xpconnect
IS_COMPONENT = 1
# IS_COMPONENT = 1
DEFINES += -DJSFILE -DJS_THREADSAFE

View File

@ -206,12 +206,10 @@ NSRegisterSelf(nsISupports* aServMgr, const char *aPath)
rv = compMgr->RegisterComponent(kJSCID_CID,
"nsIJSCID","nsCID",
aPath, PR_TRUE, PR_TRUE);
// XXX linkage to xptcall is not working here.
#ifdef XP_PC
rv = compMgr->RegisterComponent(kXPConnect_CID,
"nsIXPConnect","nsIXPConnect",
aPath, PR_TRUE, PR_TRUE);
#endif
return rv;
}