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:
alla%lysator.liu.se 1999-06-08 21:10:18 +00:00
Родитель e68970d73e
Коммит 5aed16123a
4 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -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);