summaryrefslogtreecommitdiffstats
path: root/mailnews/mapi/mapiDll/moz.build
blob: d501c2308855d930945b78a92bff1d02690ec717 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
GeckoSharedLibrary('mozMapi32', msvcrt='static', linkage=None)

SOURCES += [
    'MapiDll.cpp',
]

OS_LIBS += [
    'ole32',
]

DEFINES['UNICODE'] = True
DEFINES['_UNICODE'] = True

if not CONFIG['MOZ_INCOMPLETE_EXTERNAL_LINKAGE']:
    DEFINES['MOZILLA_INTERNAL_API'] = True

DEFFILE	= SRCDIR + '/Mapi32.def'