From f2b7778fbf7564beb1db0ff7473ffa38d9f66aad Mon Sep 17 00:00:00 2001 From: Darcy Shen Date: Mon, 8 Jan 2024 20:30:54 +0800 Subject: [PATCH] Remove /GL for libgit2 on windows (#3059) --- packages/l/libgit2/xmake.lua | 1 + 1 file changed, 1 insertion(+) 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)