Parcourir la source

Remove /GL for libgit2 on windows (#3059)

Darcy Shen il y a 1 an
Parent
commit
f2b7778fbf
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      packages/l/libgit2/xmake.lua

+ 1 - 0
packages/l/libgit2/xmake.lua

@@ -41,6 +41,7 @@ package("libgit2")
                 table.insert(configs, "-DSTATIC_CRT=OFF")
                 table.insert(configs, "-DSTATIC_CRT=OFF")
             end
             end
             io.replace("CMakeLists.txt", "/GL", "", {plain = true})
             io.replace("CMakeLists.txt", "/GL", "", {plain = true})
+            io.replace("cmake/DefaultCFlags.cmake", "/GL", "", {plain = true}) -- for 1.7.1
         end
         end
         import("package.tools.cmake").install(package, configs)
         import("package.tools.cmake").install(package, configs)
     end)
     end)