Skip to content

Commit ea0519e

Browse files
leodidowaruqi
andauthored
fix(packages/a/arrow): typo in ARROW_BUILD_SHARED (#1102)
* fix(packages/a/arrow): typo in ARROW_BUILD_SHARED The current package contains a definition with a duplicated D. Signed-off-by: Leonardo Di Donato <[email protected]> * Update xmake.lua Co-authored-by: ruki <[email protected]>
1 parent 8767237 commit ea0519e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/a/arrow/xmake.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ package("arrow")
3131

3232
add_deps("cmake", "boost")
3333

34+
if is_plat("bsd") then
35+
add_syslinks("pthread", "execinfo")
36+
elseif is_plat("linux") then
37+
add_syslinks("pthread")
38+
end
39+
3440
on_load(function (package)
3541
for name, dep in pairs(configdeps) do
3642
if package:config(name) then
@@ -75,7 +81,7 @@ ${yellow}In case of boost dependency conflicts, please use following code (order
7581

7682
local shared = package:config("shared")
7783
table.insert(configs, "-DARROW_BUILD_STATIC=" .. (shared and "OFF" or "ON"))
78-
table.insert(configs, "-DDARROW_BUILD_SHARED=" .. (shared and "ON" or "OFF"))
84+
table.insert(configs, "-DARROW_BUILD_SHARED=" .. (shared and "ON" or "OFF"))
7985
table.insert(configs, "-DARROW_DEPENDENCY_USE_SHARED=" .. (shared and "ON" or "OFF"))
8086

8187
for config, enabled in pairs(package:configs()) do

0 commit comments

Comments
 (0)