add pthread for glog (#1927)

pull/1928/head
ruki 2 years ago committed by GitHub
parent 332c26ef62
commit a27e7b6d8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/g/glog/xmake.lua

@ -16,7 +16,11 @@ package("glog")
end end
add_deps("cmake") add_deps("cmake")
if is_plat("linux") then
add_syslinks("pthread")
end
on_load("windows", "linux", "macosx", "android", "iphoneos", "cross", function (package) on_load("windows", "linux", "macosx", "android", "iphoneos", "cross", function (package)
if package:is_plat("windows") then if package:is_plat("windows") then
if package:version():le("0.4") and not package:config("shared") then if package:version():le("0.4") and not package:config("shared") then

Loading…
Cancel
Save