On Tue, Nov 29, 2011 at 3:09 AM, Mark Pulford <[email protected]> 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/ ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
