summaryrefslogtreecommitdiff
path: root/moz/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'moz/makefile.mk')
-rw-r--r--moz/makefile.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/moz/makefile.mk b/moz/makefile.mk
index 0ee92d305044..94e942f97a5e 100644
--- a/moz/makefile.mk
+++ b/moz/makefile.mk
@@ -128,6 +128,8 @@ MOZILLA_CONFIGURE_FLAGS += --disable-tests \
--disable-xprint \
--disable-postscript \
--without-system-zlib \
+ --with-system-nss \
+ --with-system-nspr \
--disable-installer \
--disable-accessibility \
--disable-xpfe-components \
@@ -145,6 +147,14 @@ MOZILLA_CONFIGURE_FLAGS += --disable-tests \
--disable-pango \
--enable-extensions="pref"
+.IF "$(ENABLE_NSS_MODULE)"=="YES"
+
+MOZILLA_CONFIGURE_FLAGS += \
+ --with-nss-prefix=$(OUTDIR) \
+ --with-nspr-prefix=$(OUTDIR)
+
+.ENDIF
+
#disable profilelocking to share profile with mozilla
#disable activex and activex-scripting to remove the dependence of Microsoft_SDK\src\mfc\atlbase.h
#disable gnomevfs to remove the needed of gnome develop files