Browse Source

ftxui: add pthread for linux (#2979)

* ftxui: add pthread for linux

* ftxui: fix elseif
Chi Huu Huynh 1 năm trước cách đây
mục cha
commit
dee70dd480
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/f/ftxui/xmake.lua

+ 1 - 1
packages/f/ftxui/xmake.lua

@@ -13,7 +13,7 @@ package("ftxui")
 
     if is_plat("windows") then
         add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
-    elseif is_plat("bsd") then
+    elseif is_plat("linux", "bsd") then
         add_syslinks("pthread")
     end