diff --git a/mailnews/mime/cthandlers/glue/Makefile.in b/mailnews/mime/cthandlers/glue/Makefile.in index f801a153365..69e2f78e76e 100644 --- a/mailnews/mime/cthandlers/glue/Makefile.in +++ b/mailnews/mime/cthandlers/glue/Makefile.in @@ -49,5 +49,8 @@ EXTRA_DSO_LDOPTS = \ $(MOZ_COMPONENT_LIBS) \ $(NULL) +# glue lib should be static +FORCE_STATIC_LIB = 1 + include $(topsrcdir)/config/rules.mk diff --git a/mailnews/mime/cthandlers/glue/makefile.win b/mailnews/mime/cthandlers/glue/makefile.win index 1b1ff84ee5e..332cf509346 100644 --- a/mailnews/mime/cthandlers/glue/makefile.win +++ b/mailnews/mime/cthandlers/glue/makefile.win @@ -68,6 +68,8 @@ OBJS= \ #// #//------------------------------------------------------------------------ # +#// Force glue library to be static +MOZ_STATIC_COMPONENT_LIBS=1 #//------------------------------------------------------------------------ #//