Drop advapi32 and shell32 from late_link_args.

This commit is contained in:
Vadim Chugunov 2015-10-23 09:35:02 -07:00
parent d710f8ba1f
commit afc3046515
2 changed files with 1 additions and 2 deletions

View file

@ -77,8 +77,6 @@ pub fn opts() -> TargetOptions {
"-lmingw32".to_string(),
"-lgcc".to_string(), // alas, mingw* libraries above depend on libgcc
"-lmsvcrt".to_string(),
"-ladvapi32".to_string(),
"-lshell32".to_string(),
"-luser32".to_string(),
"-lkernel32".to_string(),
),

View file

@ -354,6 +354,7 @@ pub type PVECTORED_EXCEPTION_HANDLER = extern "system"
#[link(name = "ws2_32")]
#[link(name = "userenv")]
#[link(name = "shell32")]
extern "system" {
pub fn WSAStartup(wVersionRequested: libc::WORD,
lpWSAData: LPWSADATA) -> libc::c_int;