Bug 1423096: Remove use of msvcrt='static' in `mailnews/mapi/mapiDll/moz.build`. draft
authorTom Prince <mozilla@hocat.ca>
Tue, 05 Dec 2017 11:11:41 -0700
changeset 23409 81332bb469fc0653afeaec0e2427c60cf9fd7a0f
parent 23404 6337ad40c7d2c4dbf167c7aeb2829faefd6b356b
push id167
push userbmo:mozilla@hocat.ca
push dateTue, 05 Dec 2017 18:21:27 +0000
bugs1423096
Bug 1423096: Remove use of msvcrt='static' in `mailnews/mapi/mapiDll/moz.build`. MozReview-Commit-ID: FHihdW2d6mN
mailnews/mapi/mapiDll/moz.build
--- a/mailnews/mapi/mapiDll/moz.build
+++ b/mailnews/mapi/mapiDll/moz.build
@@ -1,21 +1,22 @@
 # 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)
+SharedLibrary('mozMapi32')
+USE_STATIC_LIBS = True
 
 SOURCES += [
     'MapiDll.cpp',
 ]
 
 OS_LIBS += [
     'ole32',
 ]
 
 DEFINES['UNICODE'] = True
 DEFINES['_UNICODE'] = True
 
-DEFFILE	= SRCDIR + '/Mapi32.def'
+DEFFILE = SRCDIR + '/Mapi32.def'