Bug 1199118 - Don't use pragma comment in certificatecheck.cpp. r=glandium

This commit is contained in:
Jacek Caban 2015-08-28 13:17:54 +02:00
parent 7ed24f54cc
commit 65e274bfb6
3 changed files with 4 additions and 4 deletions

View File

@ -11,9 +11,6 @@
#include "certificatecheck.h"
#include "updatelogging.h"
#pragma comment(lib, "wintrust.lib")
#pragma comment(lib, "crypt32.lib")
static const int ENCODING = X509_ASN_ENCODING | PKCS_7_ASN_ENCODING;
/**

View File

@ -12,6 +12,10 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
'uachelper.cpp',
'updatehelper.cpp',
]
OS_LIBS += [
'crypt32',
'wintrust',
]
sources += [
'readstrings.cpp',

View File

@ -32,7 +32,6 @@ if CONFIG['OS_ARCH'] == 'WINNT':
]
OS_LIBS += [
'wintrust',
'shlwapi',
]
else: