[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Question about shared libraries with MinGW
- From: David Demelier <demelier.david@...>
- Date: Sun, 22 Jun 2014 10:03:22 +0200
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 ?
Regards,
--
Demelier David