Commit 1e7a3b80 authored by David Yip's avatar David Yip

fPIC isn't a thing on Windows, so remove it on Windows

parent 9cdee40b
......@@ -27,6 +27,10 @@ class LibuvConan(ConanFile):
expected_sha256sum = "b4b5dc15103f7bbfecb81a0a9575841fdb7217b9f709634be8118972c1c8ce27"
tools.get("https://dist.libuv.org/dist/v{ver}/libuv-v{ver}.tar.gz".format(ver=self.version), sha256=expected_sha256sum)
def config_options(self):
if self.settings.os == "Windows":
self.options.remove("fPIC")
@property
def _libuv_source_folder(self):
return os.path.join(self.source_folder, "libuv-v{}".format(self.version))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment