diff --git a/packages/l/libgit2/xmake.lua b/packages/l/libgit2/xmake.lua index 06e14f2c8..515bef1ae 100644 --- a/packages/l/libgit2/xmake.lua +++ b/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)