[gn build] (manually) partially (?) merge 7ff1f55a1219
authorNico Weber <thakis@chromium.org>
Thu, 20 Feb 2020 02:09:36 +0000 (21:09 -0500)
committerNico Weber <thakis@chromium.org>
Thu, 20 Feb 2020 02:09:44 +0000 (21:09 -0500)
llvm/utils/gn/secondary/clang/tools/libclang/BUILD.gn

index a41a34c..42f4945 100644 (file)
@@ -52,7 +52,10 @@ target(libclang_target_type, "libclang") {
   }
 
   if (host_os == "win") {
-    defines += [ "_CINDEX_LIB_" ]
+    defines += [
+      "CINDEX_EXPORTS",
+      "_CINDEX_LIB_",
+    ]
   }
 
   sources = [