This seems to work:
make install INSTALL_TOP=c:/users/public/lua/5.1 TO_BIN="lua.exe luac.exe lua51.dll"
the file ‘liblua.a’ will then go into lib/ without further parameters.
Just curious: why isn’t it default on windows to include the dll?
From: firstname.lastname@example.org [mailto:email@example.com]
On Behalf Of Christian Bielert
Sent: donderdag 4 april 2013 14:13
To: Lua mailing list
Subject: Re: Lua dll's with MinGW
The .dll should go where the binary is, so it can be found without altering the PATH. With MinGW, usually static libraries(.a) go into lib/ and shared libraries(.dll) go into bin/
2013/4/4 Luiz Henrique de Figueiredo <firstname.lastname@example.org>
> But shouldn't the dll go into BIN instead of LIB ?
I don't really know, sorry about that.