Pārlūkot izejas kodu

update: xmake.lua也需要提交,覆盖3个time函数

Wendal Chen 2 gadi atpakaļ
vecāks
revīzija
d1cbe169f9
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. 4 0
      xmake.lua

+ 4 - 0
xmake.lua

@@ -111,6 +111,10 @@ add_ldflags(" -Wl,--wrap=free ",{force = true})
 add_ldflags(" -Wl,--wrap=zalloc ",{force = true})
 add_ldflags(" -Wl,--wrap=calloc ",{force = true})
 add_ldflags(" -Wl,--wrap=realloc ",{force = true})
+add_ldflags(" -Wl,--wrap=localtime ",{force = true})
+add_ldflags(" -Wl,--wrap=gmtime ",{force = true})
+add_ldflags(" -Wl,--wrap=mktime ",{force = true})
+
 
 target("app")
     set_kind("static")