On Thu, Oct 28, 2010 at 11:41 AM, steve donovan <[email protected]> wrote: > On Thu, Oct 28, 2010 at 3:30 PM, Hisham <[email protected]> wrote: >> ".so" vs. ".so.*" is a general problem and I think it merits specific >> support in LuaRocks. check_external_deps should be extended to support >> "*" in patterns, so we can add "lib?.so.*" to cfg.external_deps_patterns on >> Unix. > > Yes, the only potential disaster is not finding a compatible .so, > which is hard to check for. > > The 'variants' I was speaking of was some way for the rockspec to > provide a few optional places to find header files. Gunnar's ltcltk > had this problem; is it just 'tcl.h', or 'tk/tcl.h' or even > 'tcl8.4/tcl.h'?
I'm adding to my "rockspec 2 wishlist" the notion of separate 'header' and 'incdir' entries for external dependencies, which would be a good way to handle this kind of problem. -- Hisham _______________________________________________ Luarocks-developers mailing list [email protected] http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers
