diff --git a/lib/libmisc/Makefile b/lib/libmisc/Makefile index 0e19beedc909..4042d9c45430 100644 --- a/lib/libmisc/Makefile +++ b/lib/libmisc/Makefile @@ -35,6 +35,10 @@ include $(DEPTH)/config/config.mk ifdef MOZ_MAIL_NEWS CSRCS += mime.c +else +ifdef MOZ_MAIL_COMPOSE +CSRCS += mime.c +endif endif include $(DEPTH)/config/rules.mk