aboutsummaryrefslogtreecommitdiff
path: root/lua-cjson-1.0.4-1.rockspec
diff options
context:
space:
mode:
Diffstat (limited to 'lua-cjson-1.0.4-1.rockspec')
-rw-r--r--lua-cjson-1.0.4-1.rockspec18
1 files changed, 17 insertions, 1 deletions
diff --git a/lua-cjson-1.0.4-1.rockspec b/lua-cjson-1.0.4-1.rockspec
index da19bd1..5eac501 100644
--- a/lua-cjson-1.0.4-1.rockspec
+++ b/lua-cjson-1.0.4-1.rockspec
@@ -30,8 +30,24 @@ build = {
30-- thread-safety isn't required. 30-- thread-safety isn't required.
31-- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required 31-- USE_INTERNAL_ISINF: Provide internal isinf() implementation. Required
32-- on some Solaris platforms. 32-- on some Solaris platforms.
33 defines = { "VERSION=\"1.0.4\"", "USE_POSIX_SETLOCALE" } 33 defines = {
34 "VERSION=\"1.0.4\"", "USE_POSIX_SETLOCALE",
35-- LuaRocks does not support platform specific configuration for Solaris.
36-- Uncomment the line below on Solaris platforms.
37-- "USE_INTERNAL_ISINF"
38 }
34 } 39 }
35 }, 40 },
41 -- Override default build options (per platform)
42 platforms = {
43 linux = { modules = { cjson = { defines = {
44 [2] = "USE_POSIX_USELOCALE"
45 } } } },
46 macosx = { modules = { cjson = { defines = {
47 [2] = "USE_POSIX_USELOCALE"
48 } } } }
49 },
36 copy_directories = { "tests" } 50 copy_directories = { "tests" }
37} 51}
52
53-- vi:ai et sw=4 ts=4: