[llvm] r198151 - More windows build fix attempts.

Nico Weber nicolasweber at gmx.de
Sat Dec 28 21:39:01 PST 2013


Author: nico
Date: Sat Dec 28 23:39:01 2013
New Revision: 198151

URL: http://llvm.org/viewvc/llvm-project?rev=198151&view=rev
Log:
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.

Modified:
    llvm/trunk/cmake/modules/AddLLVM.cmake

Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=198151&r1=198150&r2=198151&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Sat Dec 28 23:39:01 2013
@@ -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





More information about the llvm-commits mailing list