From 60323b48f917e2c7495d3899a3c4bec87cd98750 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Sat, 11 Jan 2014 13:53:39 +0100 Subject: minor update --- install.bat | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install.bat b/install.bat index 22cdd523..94e9b71f 100644 --- a/install.bat +++ b/install.bat @@ -18,7 +18,10 @@ vars.LUA_LIBDIR = nil vars.LUA_LIBNAME = nil vars.LUA_VERSION = "5.1" vars.LUA_SHORTV = nil -- "51" -vars.LUA_LIB_NAMES = "lua5.1.lib lua51.dll liblua.dll.a" +-- MinGW does not generate .lib, nor needs it to link, but MSVC does +-- so .lib must be listed first to ensure they are found first if present. +-- To prevent MSVC trying to link to a .dll, which won't work. +vars.LUA_LIB_NAMES = "lua5.1.lib lua51.lib lua5.1.dll lua51.dll liblua.dll.a" vars.LUA_RUNTIME = nil vars.UNAME_M = nil @@ -147,7 +150,7 @@ Configuring the Lua interpreter: /LIB, and /BIN options. /INC [dir] Location of Lua includes - e.g. c:\lua\5.1\include If provided overrides sub directory found using /LUA. -/LIB [dir] Location of Lua libraries (.dll) - e.g. c:\lua\5.1\lib +/LIB [dir] Location of Lua libraries (.dll/.lib) - e.g. c:\lua\5.1\lib If provided overrides sub directory found using /LUA. /BIN [dir] Location of Lua executables - e.g. c:\lua\5.1\bin If provided overrides sub directory found using /LUA. -- cgit v1.2.3-55-g6feb