ftxui: add pthread for linux (#2979)

* ftxui: add pthread for linux

* ftxui: fix elseif
pull/2981/head
Chi Huu Huynh 1 year ago committed by GitHub
parent 22223c3e86
commit dee70dd480
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save