[PATCH] D57258: Attempt to fix build on Windows with LLVM_ENABLE_PIC=OFF

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 25 15:39:52 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rC352253: Attempt to fix build on Windows with LLVM_ENABLE_PIC=OFF (authored by nico, committed by ).

Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57258/new/

https://reviews.llvm.org/D57258

Files:
  tools/libclang/CMakeLists.txt


Index: tools/libclang/CMakeLists.txt
===================================================================
--- tools/libclang/CMakeLists.txt
+++ tools/libclang/CMakeLists.txt
@@ -74,7 +74,7 @@
   set(LLVM_EXPORTED_SYMBOL_FILE)
 endif()
 
-if( LLVM_ENABLE_PIC )
+if(LLVM_ENABLE_PIC OR WIN32)
   set(ENABLE_SHARED SHARED)
 endif()
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57258.183643.patch
Type: text/x-patch
Size: 329 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190125/aca5b1f3/attachment-0001.bin>


More information about the cfe-commits mailing list