From 771def6aec5bbb1966f65e81cdf68afd94aa4b70 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 26 Aug 2011 15:31:52 +0100 Subject: mirror postprocess logic in here --- scp2/source/ooo/file_library_ooo.scp | 4 +++- scp2/source/ooo/makefile.mk | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scp2/source/ooo/file_library_ooo.scp b/scp2/source/ooo/file_library_ooo.scp index b210026f84d4..b1ef33b565f4 100644 --- a/scp2/source/ooo/file_library_ooo.scp +++ b/scp2/source/ooo/file_library_ooo.scp @@ -1488,9 +1488,10 @@ File gid_File_Lib_XSec_Framework Styles = (PACKED); End +#if defined(ENABLE_NSS_MODULE) || defined(SYSTEM_MOZILLA) File gid_File_Lib_XSec_XmlSec TXT_FILE_BODY; - #ifdef UNX + #ifdef UNX Name = STRING(CONCAT2(libxsec_xmlsec,UNXSUFFIX)); #else Name = "xsec_xmlsec.dll"; @@ -1498,6 +1499,7 @@ File gid_File_Lib_XSec_XmlSec Dir = SCP2_OOO_BIN_DIR; Styles = (PACKED); End +#endif File gid_File_Lib_XSec_XMLSecurity TXT_FILE_BODY; diff --git a/scp2/source/ooo/makefile.mk b/scp2/source/ooo/makefile.mk index 7d6aba50c4cd..a3fcd6aa64ce 100644 --- a/scp2/source/ooo/makefile.mk +++ b/scp2/source/ooo/makefile.mk @@ -96,6 +96,10 @@ SCPDEFS+=-DENABLE_EVOAB2 SCPDEFS+=-DENABLE_DIRECTX .ENDIF +.IF "$(ENABLE_NSS_MODULE)"=="YES" +SCPDEFS+=-DENABLE_NSS_MODULE +.ENDIF + .IF "$(GUI)"=="UNX" #X11 MacOSX has no cairo-canvas .IF "$(OS)" != "MACOSX" || "$(GUIBASE)" == "aqua" -- cgit