2
0
ruki 5 жил өмнө
parent
commit
30daafef25

+ 4 - 0
packages/g/gtest/xmake.lua

@@ -8,6 +8,10 @@ package("gtest")
     add_versions("github:1.8.1", "release-1.8.1")
     add_versions("archive:1.8.1", "927827c183d01734cc5cfef85e0ff3f5a92ffe6188e0d18e909c5efebf28a0c7")
 
+    if is_plat("linux") then
+        add_syslinks("pthread")
+    end
+
     on_install(function (package)
         io.writefile("xmake.lua", [[
             target("gtest")