Skip to content

Commit

Permalink
Merge branch 'master' into release-0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
redstar committed Dec 9, 2014
2 parents bc5dded + 0fa4201 commit c2e9a38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions driver/linker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,11 @@ void createStaticLibrary()
{
Logger::println("*** Creating static library ***");

#if LDC_LLVM_VER >= 305
const bool isTargetWindows = global.params.targetTriple.isWindowsMSVCEnvironment();
#else
const bool isTargetWindows = global.params.targetTriple.getOS() == llvm::Triple::Win32;
#endif

// find archiver
std::string tool(isTargetWindows ? getLib() : getArchiver());
Expand Down
2 changes: 1 addition & 1 deletion runtime/druntime

0 comments on commit c2e9a38

Please sign in to comment.