diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-16 18:10:38 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2024-02-16 18:10:38 -0300 |
commit | ea43975308abc8b5281ac8934657aa4d59bcdd75 (patch) | |
tree | 8ff48a610f1de5468467ac9c0caa2c5c68bbaece | |
parent | 8d0df029b0da53d049f3b02e5e83b21c6000a583 (diff) | |
download | luarocks-ea43975308abc8b5281ac8934657aa4d59bcdd75.tar.gz luarocks-ea43975308abc8b5281ac8934657aa4d59bcdd75.tar.bz2 luarocks-ea43975308abc8b5281ac8934657aa4d59bcdd75.zip |
fix: build_dependencies can use a dependency found anywhere
-rw-r--r-- | src/luarocks/build.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua index 42ae4591..e545d390 100644 --- a/src/luarocks/build.lua +++ b/src/luarocks/build.lua | |||
@@ -129,7 +129,7 @@ local function process_dependencies(rockspec, opts) | |||
129 | 129 | ||
130 | if not opts.build_only_deps then | 130 | if not opts.build_only_deps then |
131 | if next(rockspec.build_dependencies) then | 131 | if next(rockspec.build_dependencies) then |
132 | local ok, err, errcode = deps.fulfill_dependencies(rockspec, "build_dependencies", opts.deps_mode, opts.verify) | 132 | local ok, err, errcode = deps.fulfill_dependencies(rockspec, "build_dependencies", "all", opts.verify) |
133 | if err then | 133 | if err then |
134 | return nil, err, errcode | 134 | return nil, err, errcode |
135 | end | 135 | end |