Re: [Luarocks-developers] Solaris support
Brought to you by:
loderunner
From: Hisham <his...@gm...> - 2011-11-29 13:36:05
|
On Tue, Nov 29, 2011 at 3:09 AM, Mark Pulford <ma...@ky...> wrote: > Hi, > > I have a module that needs a work around under Solaris. I'd like the > module rockspec to automatically enable the workaround when required. > Eg: > > platforms = { > sunos = { modules = { cjson = { defines = { > [3] = "USE_INTERNAL_ISINF" > } } } } > } > > ..but Luarocks doesn't understand "sunos" or "solaris" as a known > platform. Would it be possible to add it? Sure, what are the outputs of `uname -s` and `uname -m`? Different platforms enable several platform flags at once, such as "unix", "bsd" and "freebsd" for FreeBSD. I suppose for Solaris we could set "unix", "bsd" and "solaris", right? -- Hisham http://hisham.hm/ - http://colorbleed.com.br/ |