diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-12-29 05:39:01 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-12-29 05:39:01 +0000 |
commit | 06473f855d3d4ca243c528882236ecfb9fdaae3a (patch) | |
tree | 46db9df78991bca931b038f48dfc0fa316ea05c6 | |
parent | fdef0e0d941dea19dbfba30df7401dc996192e14 (diff) | |
download | bcm5719-llvm-06473f855d3d4ca243c528882236ecfb9fdaae3a.tar.gz bcm5719-llvm-06473f855d3d4ca243c528882236ecfb9fdaae3a.zip |
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
-rw-r--r-- | llvm/cmake/modules/AddLLVM.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake index 681bbe899be..6bfed6999d0 100644 --- a/llvm/cmake/modules/AddLLVM.cmake +++ b/llvm/cmake/modules/AddLLVM.cmake @@ -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 |