saghul / pycares

Python interface for c-ares
https://pypi.org/project/pycares/
MIT License
162 stars 74 forks source link

4.0.0 Q: how to build pycares against system installed c-ares ? #154

Closed kloczek closed 3 years ago

kloczek commented 3 years ago

Looks like in 4.0.0 in deps/c-ares is bundled c-ares and by default build is trying to compile pycares using that code. Q: Is it any/easy way to build pycares against already installed shared c-ares?

saghul commented 3 years ago

The default is still to use the embedded build.

This is explained in the README, you can set the PYCARES_USE_SYSTEM_LIB env variable when building and the system library will be used.

kloczek commented 3 years ago

It works :) Thank you.