> Hi,
>
> Il 02/04/2011 15:44, Roberto De Ioris ha scritto:
>>
>>> Hi,
>>>
>>> AFAIK on debian (for sure on my machine :) you cannot link against lua
>>> but you have to link against a specific lua version. So when building
>>> the lua plugin try to query pkg-config before using -llua.
>>>
>>
>> Luigi Scarso pointed me to this project
>>
>> http://luabinaries.sourceforge.net/
>>
>> probably it is a better choice for automatic library/headers selections
>
> I don't see how this can be useful, are you suggesting i have to
> recompile lua just to have uwsgi link against it? this is like a stab
> for a debian user :)
>
>

No, i am suggesting (as there is no lua standard for it) to follow their
approach as a default, and use manual configuration (as now) for all the
others.

Another way (ugly but probably more useful for the current status of Lua)
is doing some sort of auto-configuration (very similar to what you have
done) trying the most common path (for example pkgconfig works in
debian/ubuntu for lua but not for *BSD and other distros).


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to