On Fri, Sep 16, 2011 at 5:25 PM, Hisham <hisham...@gmail.com> wrote:
> Also, my example above was slightly incorrect. As you can override the
> paths entirely, you need to add /lua/5.1 explicitly:

I just noticed that the same is not true in the luaposix configure
script -- if you pass --libdir and --datadir, /lua/5.1 is
automatically added. As it is, we can't use --libdir=$(LIBDIR)
--datadir=$(LUADIR), as it generates "/lua/5.1/lua/5.1" in deployment.
I worked around this overriding lualibdir and luadatadir on the call
to make, as I had done with lcurses. Works fine (I just uploaded the
rock to the LuaRocks repository), but it might be nicer to be able to
do this through configure flags.

-- 
-- Hisham
http://hisham.hm/ - http://colorbleed.com.br/

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to