]> granicus.if.org Git - clang/commit
Make a good guess about where MSVC and Windows SDK libraries are for linking.
authorZachary Turner <zturner@google.com>
Wed, 22 Oct 2014 20:40:43 +0000 (20:40 +0000)
committerZachary Turner <zturner@google.com>
Wed, 22 Oct 2014 20:40:43 +0000 (20:40 +0000)
commitc9ecba776f9afa8403849e4f313a52a39b77a920
tree84758172233dff1d7e2054b333cc6079c3f91f60
parentbfcee13ab7cea02dc588ccae1df424ad52299eee
Make a good guess about where MSVC and Windows SDK libraries are for linking.

When a user has not configured a standard Visual Studio environment
by running vcvarsall, clang tries its best to find Visual Studio
include files and executables anyway.  This patch makes clang also
try to find system and Windows SDK libraries for linking against,
as well.

Reviewed by: Hans Wennborg
Differential Revision: http://reviews.llvm.org/D5873

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220425 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/MSVCToolChain.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp