Allow using Luarocks config in home dir
This commit is contained in:
parent
8afe784657
commit
24c5bfbffd
@ -1488,7 +1488,7 @@ class LuaRocks(Program):
|
|||||||
"install.bat",
|
"install.bat",
|
||||||
"/P", os.path.join(opts.location, "luarocks"),
|
"/P", os.path.join(opts.location, "luarocks"),
|
||||||
"/LUA", opts.location,
|
"/LUA", opts.location,
|
||||||
"/FORCECONFIG", "/F"
|
"/F"
|
||||||
]
|
]
|
||||||
if lua_identifiers["target"] == "mingw":
|
if lua_identifiers["target"] == "mingw":
|
||||||
args += ["/MW"]
|
args += ["/MW"]
|
||||||
@ -1525,7 +1525,7 @@ class LuaRocks(Program):
|
|||||||
else:
|
else:
|
||||||
print("Building LuaRocks" + self.version_suffix)
|
print("Building LuaRocks" + self.version_suffix)
|
||||||
run("./configure", "--prefix=" + opts.location,
|
run("./configure", "--prefix=" + opts.location,
|
||||||
"--with-lua=" + opts.location, "--force-config")
|
"--with-lua=" + opts.location)
|
||||||
|
|
||||||
if self.is_luarocks_2_0():
|
if self.is_luarocks_2_0():
|
||||||
run("make")
|
run("make")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user