Browse Source

Remove /GL for libgit2 on windows (#3059)

Darcy Shen 1 year ago
parent
commit
f2b7778fbf
1 changed files with 1 additions and 0 deletions
  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")
             end
             io.replace("CMakeLists.txt", "/GL", "", {plain = true})
+            io.replace("cmake/DefaultCFlags.cmake", "/GL", "", {plain = true}) -- for 1.7.1
         end
         import("package.tools.cmake").install(package, configs)
     end)