Skip to content

Commit 7c095c0

Browse files
authored
fix(build): use default AR args for the Lua package on macOS (#14648)
Lua has a default `AR= ar rcu` in its makefile, overriding it with `AR=/usr/bin/ar` will cause the build fail on macOS due to missing required arguments The `/usr/bin` is in the `PATH` by default on macOS, so it's okay to remove this override to fix the issue JIRA: KM-1362
1 parent df4523f commit 7c095c0

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

build/luarocks/lua/BUILD.lua.bazel

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ filegroup(
1111

1212
make(
1313
name = "lua",
14-
args = select({
15-
"@platforms//os:macos": [
16-
"AR=/usr/bin/ar",
17-
],
18-
"//conditions:default": [
19-
],
20-
}),
2114
lib_source = ":all_srcs",
2215
out_binaries = [
2316
"lua",

0 commit comments

Comments
 (0)