ソースを参照

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]>
Leo Di Donato 3 年 前
コミット
ea0519ed92
1 ファイル変更7 行追加1 行削除
  1. 7 1
      packages/a/arrow/xmake.lua

+ 7 - 1
packages/a/arrow/xmake.lua

@@ -31,6 +31,12 @@ package("arrow")
 
     add_deps("cmake", "boost")
 
+    if is_plat("bsd") then
+        add_syslinks("pthread", "execinfo")
+    elseif is_plat("linux") then
+        add_syslinks("pthread")
+    end
+
     on_load(function (package)
         for name, dep in pairs(configdeps) do
             if package:config(name) then
@@ -75,7 +81,7 @@ ${yellow}In case of boost dependency conflicts, please use following code (order
 
         local shared = package:config("shared")
         table.insert(configs, "-DARROW_BUILD_STATIC=" .. (shared and "OFF" or "ON"))
-        table.insert(configs, "-DDARROW_BUILD_SHARED=" .. (shared and "ON" or "OFF"))
+        table.insert(configs, "-DARROW_BUILD_SHARED=" .. (shared and "ON" or "OFF"))
         table.insert(configs, "-DARROW_DEPENDENCY_USE_SHARED=" .. (shared and "ON" or "OFF"))
 
         for config, enabled in pairs(package:configs()) do