aboutsummaryrefslogtreecommitdiff
path: root/lua-cjson-1.0devel-1.rockspec
diff options
context:
space:
mode:
Diffstat (limited to 'lua-cjson-1.0devel-1.rockspec')
-rw-r--r--lua-cjson-1.0devel-1.rockspec15
1 files changed, 1 insertions, 14 deletions
diff --git a/lua-cjson-1.0devel-1.rockspec b/lua-cjson-1.0devel-1.rockspec
index 8df0658..3890ec1 100644
--- a/lua-cjson-1.0devel-1.rockspec
+++ b/lua-cjson-1.0devel-1.rockspec
@@ -24,29 +24,16 @@ build = {
24 modules = { 24 modules = {
25 cjson = { 25 cjson = {
26 sources = { "lua_cjson.c", "strbuf.c" }, 26 sources = { "lua_cjson.c", "strbuf.c" },
27-- Optional workarounds: 27-- Optional workaround:
28-- USE_POSIX_USELOCALE: Linux, OSX. Thread safe. Recommended.
29-- USE_POSIX_SETLOCALE: Works on all ANSI C platforms. May be used when
30-- thread-safety isn't required.
31-- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required 28-- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required
32-- on some Solaris platforms. 29-- on some Solaris platforms.
33 defines = { 30 defines = {
34 "USE_POSIX_SETLOCALE",
35-- LuaRocks does not support platform specific configuration for Solaris. 31-- LuaRocks does not support platform specific configuration for Solaris.
36-- Uncomment the line below on Solaris platforms. 32-- Uncomment the line below on Solaris platforms.
37-- "USE_INTERNAL_ISINF" 33-- "USE_INTERNAL_ISINF"
38 } 34 }
39 } 35 }
40 }, 36 },
41 -- Override default build options (per platform)
42 platforms = {
43 linux = { modules = { cjson = { defines = {
44 [1] = "USE_POSIX_USELOCALE"
45 } } } },
46 macosx = { modules = { cjson = { defines = {
47 [1] = "USE_POSIX_USELOCALE"
48 } } } }
49 },
50 copy_directories = { "tests" } 37 copy_directories = { "tests" }
51} 38}
52 39