Skip to content

Commit 24c5bfb

Browse files
committed
Allow using Luarocks config in home dir
1 parent 8afe784 commit 24c5bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hererocks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,7 @@ def build(self):
14881488
"install.bat",
14891489
"/P", os.path.join(opts.location, "luarocks"),
14901490
"/LUA", opts.location,
1491-
"/FORCECONFIG", "/F"
1491+
"/F"
14921492
]
14931493
if lua_identifiers["target"] == "mingw":
14941494
args += ["/MW"]
@@ -1525,7 +1525,7 @@ def build(self):
15251525
else:
15261526
print("Building LuaRocks" + self.version_suffix)
15271527
run("./configure", "--prefix=" + opts.location,
1528-
"--with-lua=" + opts.location, "--force-config")
1528+
"--with-lua=" + opts.location)
15291529

15301530
if self.is_luarocks_2_0():
15311531
run("make")

0 commit comments

Comments
 (0)