зеркало из https://github.com/mozilla/pjs.git
Now compiles with HEAD
Had to do a ugly -DMOD_DLL_SUFFIX=\".so\" in the Makefile. Will break on some platforms, but i suck at autoconf...
This commit is contained in:
Родитель
e68970d73e
Коммит
5aed16123a
|
@ -14,6 +14,7 @@
|
|||
* created by Alexander Larsson are Copyright (C) 1999
|
||||
* Alexander Larsson. All Rights Reserved.
|
||||
*/
|
||||
#include "nscore.h"
|
||||
#include "GtkMozillaInputStream.h"
|
||||
static NS_DEFINE_IID(kISupportsIID, NS_ISUPPORTS_IID);
|
||||
static NS_DEFINE_IID(kIInputStreamIID, NS_IINPUTSTREAM_IID);
|
||||
|
|
|
@ -94,7 +94,7 @@ MOZILLA_LIBS=-L$(MOZILLA_DIR)/dist/lib \
|
|||
|
||||
INCLUDES = $(MOZILLA_INCLUDES) @GTK_CFLAGS@ @DEBUG_FLAGS@
|
||||
|
||||
CPPFLAGS = -DXP_UNIX
|
||||
CPPFLAGS = -DXP_UNIX -DMOZ_DLL_SUFFIX=\".so\"
|
||||
|
||||
libgtkmozilla_la_LIBADD = $(MOZILLA_LIBS) @GTK_LIBS@
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ MOZILLA_LIBS = -L$(MOZILLA_DIR)/dist/lib $(ALL_MOZ_LIBS)
|
|||
|
||||
INCLUDES = $(MOZILLA_INCLUDES) @GTK_CFLAGS@ @DEBUG_FLAGS@
|
||||
|
||||
CPPFLAGS = -DXP_UNIX
|
||||
CPPFLAGS = -DXP_UNIX -DMOZ_DLL_SUFFIX=\".so\"
|
||||
|
||||
libgtkmozilla_la_LIBADD = $(MOZILLA_LIBS) @GTK_LIBS@
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
|
|
|
@ -234,7 +234,7 @@ NS_SetupRegistry()
|
|||
nsComponentManager::RegisterComponent(kWebShellCID, NULL, NULL, WEB_DLL, PR_FALSE, PR_FALSE);
|
||||
nsComponentManager::RegisterComponent(kCDocLoaderServiceCID, NULL, NULL, WEB_DLL, PR_FALSE, PR_FALSE);
|
||||
nsComponentManager::RegisterComponent(kThrobberCID, NULL, NULL, WEB_DLL, PR_FALSE, PR_FALSE);
|
||||
nsComponentManager::RegisterComponent(kPrefCID, NULL, NULL, PREF_DLL, PR_FALSE, PR_FALSE);
|
||||
nsComponentManager::RegisterComponent(kPrefCID, "Preferences Services", "component://netscape/preferences", PREF_DLL, PR_FALSE, PR_FALSE);
|
||||
nsComponentManager::RegisterComponent(kCPluginHostCID, NULL, NULL, PLUGIN_DLL, PR_FALSE, PR_FALSE);
|
||||
nsComponentManager::RegisterComponent(kCParserCID, NULL, NULL, PARSER_DLL, PR_FALSE, PR_FALSE);
|
||||
nsComponentManager::RegisterComponent(kWellFormedDTDCID, NULL, NULL, PARSER_DLL, PR_FALSE, PR_FALSE);
|
||||
|
|
Загрузка…
Ссылка в новой задаче