More windows build fix attempts.

The windows ninja build is now green, but msvs is still unhappy. Maybe that's
because the .def file was passed when building LTO_static, so only pass
symbol lists for shared libraries.

llvm-svn: 198151
This commit is contained in:
Nico Weber 2013-12-29 05:39:01 +00:00
parent 87af14279d
commit 8904d5719e

View File

@ -86,10 +86,10 @@ macro(add_llvm_library name)
PROPERTIES
IMPORT_SUFFIX ".imp")
endif ()
endif()
if (LLVM_EXPORTED_SYMBOL_FILE)
add_llvm_symbol_exports( ${name} ${LLVM_EXPORTED_SYMBOL_FILE} )
if (LLVM_EXPORTED_SYMBOL_FILE)
add_llvm_symbol_exports( ${name} ${LLVM_EXPORTED_SYMBOL_FILE} )
endif()
endif()
# Ensure that the system libraries always comes last on the