On Wed, Sep 19, 2012 at 10:44 AM, Ildar Mulyukov <[email protected]> wrote: > On 19.09.2012 12:20:13, Alexander Gladysh wrote: >> On Wed, Sep 19, 2012 at 8:15 AM, Ildar Mulyukov >> > Instead I have an idea for you: LR could enter deps on system libs >> that >> > would be checked with a package manager at hand. >> >> Such platform-specific field in a rockspec would not hurt. > > I meant a little different thing. > Look, e.g.: >> external_dependencies = { "libexpat.so.1" } > That could be checked by: >> $ rpm -q --provides libexpat | grep libexpat.so.1 > returning >= one line.
grep -q then. > DEB version is trivial. Windows/MAC could be elaborated. Ah, yes, this would be much easier. (But ".so.1" suffix is clearly platform-dependent.) What is missing from current external_differences implementation then? Alexander. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Luarocks-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luarocks-developers
