lua-users home
lua-l archive

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

Hello there,

I'm trying to build Lua 5.2.3 as a full shared library (no static at
all). I used MinGW-w64 and I typed make mingw to build Lua.

The generated files includes a lua.exe built dynamically (with
lua.dll). But there also liblua.a which *seems* to be static. Because
when I try to create a simple module in C and link to this liblua.a,
calling lua.exe myfile.lua (which call require "themodule") ends with
"Multiple Lua VMs detected".

Usually, MinGW projects installs two different kind of libraries,
foo.a (static) and foo.dll.a (shared, for import).

How can I do the same with Lua ?


Demelier David