Our build ends up in this path and fails otherwise... diff -up comm-central/mail/installer/Makefile.in.shared-error comm-central/mail/installer/Makefile.in --- comm-central/mail/installer/Makefile.in.shared-error 2009-09-16 13:47:43.000000000 +0200 +++ comm-central/mail/installer/Makefile.in 2009-09-16 13:48:25.000000000 +0200 @@ -95,9 +95,11 @@ endif # mozconfig instead. ifndef MAIL_PKG_SHARED ifndef BUILD_STATIC_LIBS +ifeq (BUILD_STATIC_LIBS, 1) $(error you need an "--enable-static" build to package a build) endif endif +endif include $(MOZILLA_SRCDIR)/toolkit/mozapps/installer/packager.mk