lua-users home
lua-l archive

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


This seems to work:

   make mingw
   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?

Thijs

 

From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] 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 <lhf@tecgraf.puc-rio.br>

> But shouldn't the dll go into BIN instead of LIB ?

I don't really know, sorry about that.