Allow using Luarocks config in home dir

This commit is contained in:
Peter Melnichenko 2016-12-06 15:50:35 +03:00
parent 8afe784657
commit 24c5bfbffd

View File

@ -1488,7 +1488,7 @@ class LuaRocks(Program):
"install.bat",
"/P", os.path.join(opts.location, "luarocks"),
"/LUA", opts.location,
"/FORCECONFIG", "/F"
"/F"
]
if lua_identifiers["target"] == "mingw":
args += ["/MW"]
@ -1525,7 +1525,7 @@ class LuaRocks(Program):
else:
print("Building LuaRocks" + self.version_suffix)
run("./configure", "--prefix=" + opts.location,
"--with-lua=" + opts.location, "--force-config")
"--with-lua=" + opts.location)
if self.is_luarocks_2_0():
run("make")