biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / curl-cffi / use-system-libs.patch
blob1d044873e4610e81a28cbba851f430e8b50e993b
1 diff --git a/scripts/build.py b/scripts/build.py
2 index b705a0d..9bfcaab 100644
3 --- a/scripts/build.py
4 +++ b/scripts/build.py
5 @@ -105,7 +105,6 @@ def get_curl_libraries():
6 ffibuilder = FFI()
7 system = platform.system()
8 root_dir = Path(__file__).parent.parent
9 -download_libcurl()
12 ffibuilder.set_source(
13 @@ -114,9 +113,7 @@ ffibuilder.set_source(
14 #include "shim.h"
15 """,
16 # FIXME from `curl-impersonate`
17 - libraries=get_curl_libraries(),
18 - extra_objects=get_curl_archives(),
19 - library_dirs=[arch["libdir"]],
20 + libraries=["curl-impersonate-chrome"],
21 source_extension=".c",
22 include_dirs=[
23 str(root_dir / "include"),