|
@@ -0,0 +1,34 @@
|
|
|
|
+# HG changeset patch
|
|
|
|
+# User Bill Gianopoulos <wgianopoulos@gmail.com>
|
|
|
|
+# Date 1651328847 0
|
|
|
|
+Bug 1767114 - Loacl build bustage fix.
|
|
|
|
+Bug 1767114 will cause bustage in mailnews/mapi/mapiDll/moz.build if
|
|
|
|
+COMPILE_FLAGS["WARNINGS_AS_ERRORS"] evalutates as null.
|
|
|
|
+Issue is '+=' i s not a valid operator for a null operand.
|
|
|
|
+`
|
|
|
|
+diff --git a/mailnews/mapi/mapiDll/moz.build b/mailnews/mapi/mapiDll/moz.build
|
|
|
|
+--- a/mailnews/mapi/mapiDll/moz.build
|
|
|
|
++++ b/mailnews/mapi/mapiDll/moz.build
|
|
|
|
+@@ -5,21 +5,20 @@
|
|
|
|
+
|
|
|
|
+ # Statically link against the CRT, so that we don't go hunting around for it
|
|
|
|
+ # and not find it when we're loaded into explorer.exe or similar
|
|
|
|
+ SharedLibrary("mozMapi32")
|
|
|
|
+ USE_STATIC_LIBS = True
|
|
|
|
+
|
|
|
|
+ LOCAL_INCLUDES += ["../include"]
|
|
|
|
+
|
|
|
|
+-COMPILE_FLAGS["WARNINGS_AS_ERRORS"] += ["-Wno-sign-compare"]
|
|
|
|
+-
|
|
|
|
+ SOURCES += [
|
|
|
|
+ "MapiDll.cpp",
|
|
|
|
+ ]
|
|
|
|
++SOURCES["MapiDll.cpp"].flags += ["-Wno-sign-compare"]
|
|
|
|
+
|
|
|
|
+ OS_LIBS += [
|
|
|
|
+ "ole32",
|
|
|
|
+ ]
|
|
|
|
+
|
|
|
|
+ DEFINES["UNICODE"] = True
|
|
|
|
+ DEFINES["_UNICODE"] = True
|
|
|
|
+
|