8de8d28
diff -up comm-central/mail/installer/Makefile.in.shared-error comm-central/mail/installer/Makefile.in
8de8d28
--- comm-central/mail/installer/Makefile.in.shared-error	2009-09-16 13:47:43.000000000 +0200
8de8d28
+++ comm-central/mail/installer/Makefile.in	2009-09-16 13:48:25.000000000 +0200
8de8d28
@@ -95,9 +95,11 @@ endif
f42d263
 # mozconfig instead.
f42d263
 ifndef MAIL_PKG_SHARED
f42d263
 ifndef BUILD_STATIC_LIBS
823ae07
+ifeq (BUILD_STATIC_LIBS, 1)
f42d263
 $(error you need an "--enable-static" build to package a build)
823ae07
 endif
823ae07
 endif
823ae07
+endif
823ae07
 
6a06c43
 # On mozilla-central, packager.mk uses core_abspath to redefine DIST
6a06c43
 # As the comm-central config.mk doesn't set it, do it ourselves instead