summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/mapi/mapiDll/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mailnews/mapi/mapiDll/moz.build')
-rw-r--r--comm/mailnews/mapi/mapiDll/moz.build24
1 files changed, 24 insertions, 0 deletions
diff --git a/comm/mailnews/mapi/mapiDll/moz.build b/comm/mailnews/mapi/mapiDll/moz.build
new file mode 100644
index 0000000000..a013feffec
--- /dev/null
+++ b/comm/mailnews/mapi/mapiDll/moz.build
@@ -0,0 +1,24 @@
+# vim: set filetype=python:
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+# 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"]
+
+SOURCES += [
+ "MapiDll.cpp",
+]
+
+OS_LIBS += [
+ "ole32",
+]
+
+DEFINES["UNICODE"] = True
+DEFINES["_UNICODE"] = True
+
+DEFFILE = "Mapi32.def"