...
 
Commits (2)
  • David Yip's avatar
    Use -pthread on clang also · 2ce5e5b6
    David Yip authored
    2ce5e5b6
  • David Yip's avatar
    Update to libuv 1.33.1 · 8763734b
    David Yip authored
    libuv-1.33.1.tar.gz downloaded from dist.libuv.org; checked against the
    signature at https://dist.libuv.org/dist/v1.33.1/libuv-v1.33.1.tar.gz.sign
    ith the following result:
    
        gpg: assuming signed data in 'libuv-v1.33.1.tar.gz'
        gpg: Signature made Sat 19 Oct 2019 04:33:15 PM CDT
        gpg:                using RSA key 57353E0DBDAAA7E839B66A1AFF47D5E4AD8B4FDC
        gpg: Good signature from "keybase.io/cjihrig <cjihrig@keybase.io>" [unknown]
        gpg: WARNING: This key is not certified with a trusted signature!
        gpg:          There is no indication that the signature belongs to the owner.
        Primary key fingerprint: 5735 3E0D BDAA A7E8 39B6  6A1A FF47 D5E4 AD8B 4FDC
    8763734b
......@@ -4,7 +4,7 @@ from conans.tools import vcvars, which
class LibuvConan(ConanFile):
name = "libuv"
version = "1.31.0"
version = "1.33.1"
license = "MIT"
author = "David Yip <yipdw@member.fsf.org>"
url = "https://gitlab.peach-bun.com/yipdw/conan-libuv2"
......@@ -24,7 +24,7 @@ class LibuvConan(ConanFile):
generators = "cmake"
def source(self):
expected_sha256sum = "4dca1ac249b183ddb7e1059d6ac5bff12cf3d1b6fa54b56e386991ace5b4d903"
expected_sha256sum = "b4b5dc15103f7bbfecb81a0a9575841fdb7217b9f709634be8118972c1c8ce27"
tools.get("https://dist.libuv.org/dist/v{ver}/libuv-v{ver}.tar.gz".format(ver=self.version), sha256=expected_sha256sum)
@property
......@@ -87,7 +87,7 @@ class LibuvConan(ConanFile):
elif self.settings.os == "Linux":
self.cpp_info.libs += ["dl", "rt", "pthread"]
if self.settings.compiler == "gcc":
if self.settings.compiler == "gcc" or self.settings.compiler == "clang":
self.cpp_info.sharedlinkflags += ["-pthread"]
self.cpp_info.exelinkflags += ["-pthread"]
......