From 0f3dda34a35d93b92aba39a6c7b30d1d23918812 Mon Sep 17 00:00:00 2001 From: momoterraw Date: Mon, 25 Oct 2021 22:39:52 -0700 Subject: [PATCH] bugfix: windows luarocks make doesn't export cjson.safe. --- lua-cjson-2.1.0.10-1.rockspec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua-cjson-2.1.0.10-1.rockspec b/lua-cjson-2.1.0.10-1.rockspec index 2c2458a..61608d9 100644 --- a/lua-cjson-2.1.0.10-1.rockspec +++ b/lua-cjson-2.1.0.10-1.rockspec @@ -34,6 +34,9 @@ build = { -- Uncomment the line below on Solaris platforms if required. -- "USE_INTERNAL_ISINF" } + }, + ["cjson.safe"] = { + sources = { "lua_cjson.c", "strbuf.c", "fpconv.c" } } }, install = {