소스 검색

ftxui: add pthread for linux (#2979)

* ftxui: add pthread for linux

* ftxui: fix elseif
Chi Huu Huynh 1 년 전
부모
커밋
dee70dd480
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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