diff options
Diffstat (limited to 'install.bat')
-rw-r--r-- | install.bat | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/install.bat b/install.bat index dfd94317..a17aff89 100644 --- a/install.bat +++ b/install.bat | |||
@@ -18,7 +18,10 @@ vars.LUA_LIBDIR = nil | |||
18 | vars.LUA_LIBNAME = nil | 18 | vars.LUA_LIBNAME = nil |
19 | vars.LUA_VERSION = "5.1" | 19 | vars.LUA_VERSION = "5.1" |
20 | vars.LUA_SHORTV = nil -- "51" | 20 | vars.LUA_SHORTV = nil -- "51" |
21 | vars.LUA_LIB_NAMES = "lua5.1.lib lua51.dll liblua.dll.a" | 21 | -- MinGW does not generate .lib, nor needs it to link, but MSVC does |
22 | -- so .lib must be listed first to ensure they are found first if present. | ||
23 | -- To prevent MSVC trying to link to a .dll, which won't work. | ||
24 | vars.LUA_LIB_NAMES = "lua5.1.lib lua51.lib lua5.1.dll lua51.dll liblua.dll.a" | ||
22 | vars.LUA_RUNTIME = nil | 25 | vars.LUA_RUNTIME = nil |
23 | vars.UNAME_M = nil | 26 | vars.UNAME_M = nil |
24 | 27 | ||
@@ -147,7 +150,7 @@ Configuring the Lua interpreter: | |||
147 | /LIB, and /BIN options. | 150 | /LIB, and /BIN options. |
148 | /INC [dir] Location of Lua includes - e.g. c:\lua\5.1\include | 151 | /INC [dir] Location of Lua includes - e.g. c:\lua\5.1\include |
149 | If provided overrides sub directory found using /LUA. | 152 | If provided overrides sub directory found using /LUA. |
150 | /LIB [dir] Location of Lua libraries (.dll) - e.g. c:\lua\5.1\lib | 153 | /LIB [dir] Location of Lua libraries (.dll/.lib) - e.g. c:\lua\5.1\lib |
151 | If provided overrides sub directory found using /LUA. | 154 | If provided overrides sub directory found using /LUA. |
152 | /BIN [dir] Location of Lua executables - e.g. c:\lua\5.1\bin | 155 | /BIN [dir] Location of Lua executables - e.g. c:\lua\5.1\bin |
153 | If provided overrides sub directory found using /LUA. | 156 | If provided overrides sub directory found using /LUA. |