lwthiker / curl-impersonate

curl-impersonate: A special build of curl that can impersonate Chrome & Firefox
MIT License
3.45k stars 229 forks source link

Disable extraneous linking in released binaries #222

Closed lwthiker closed 3 months ago

lwthiker commented 3 months ago

Libraries present on the CI runner system might affect the released binaries. Specifically, the MacOS runner in GitHub has librtsp, libidn2 and zstd installed, which makes curl link against them.

Explicitly disable these linking, as we want to keep the precompiled binaries in our releases with minimal requirements. A user wishing to use these specific features can build from source on a system with these libraries present.

Fixes #162