Removed workaround for unspecified build problem on MinGW.

Tested that MinGW/MSYS builds fine without that.

llvm-svn: 128341
This commit is contained in:
Oscar Fuentes 2011-03-26 16:11:33 +00:00
parent 642b03413f
commit 4f444d7c44
1 changed files with 3 additions and 5 deletions

View File

@ -182,11 +182,9 @@ macro(add_clang_library name)
if (LLVM_COMMON_LIBS)
target_link_libraries(${name} ${LLVM_COMMON_LIBS})
endif()
if( NOT MINGW )
get_system_libs(llvm_system_libs)
if( llvm_system_libs )
target_link_libraries(${name} ${llvm_system_libs})
endif()
get_system_libs(llvm_system_libs)
if( llvm_system_libs )
target_link_libraries(${name} ${llvm_system_libs})
endif()
add_dependencies(${name} ClangDiagnosticCommon)
if(MSVC)