lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hallo,

On 4/30/06, askok@dnainternet.net <askok@dnainternet.net> wrote:

On certain systems, initialization of SDL library is done before main() is called, by 'hijacking' main into
the SDL codebase (-lsdlmain). This is not possible from within an extension module, since a main loop
is already up and running.


    Maybe you could use a wrapper script that sets LD_PRELOAD and
then call the Lua executabe. Not beautiful, but...

--
-alex
http://www.ventonegro.org/