Browse Source

ftxui: add pthread for linux (#2979)

* ftxui: add pthread for linux

* ftxui: fix elseif
Chi Huu Huynh 1 year ago
parent
commit
dee70dd480
1 changed files with 1 additions and 1 deletions
  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
     if is_plat("windows") then
         add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
         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")
         add_syslinks("pthread")
     end
     end