5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
23 lines
666 B
Diff
23 lines
666 B
Diff
diff --git a/scripts/build.py b/scripts/build.py
|
|
index b705a0d..9bfcaab 100644
|
|
--- a/scripts/build.py
|
|
+++ b/scripts/build.py
|
|
@@ -105,7 +105,6 @@ def get_curl_libraries():
|
|
ffibuilder = FFI()
|
|
system = platform.system()
|
|
root_dir = Path(__file__).parent.parent
|
|
-download_libcurl()
|
|
|
|
|
|
ffibuilder.set_source(
|
|
@@ -114,9 +113,7 @@ ffibuilder.set_source(
|
|
#include "shim.h"
|
|
""",
|
|
# FIXME from `curl-impersonate`
|
|
- libraries=get_curl_libraries(),
|
|
- extra_objects=get_curl_archives(),
|
|
- library_dirs=[arch["libdir"]],
|
|
+ libraries=["curl-impersonate-chrome"],
|
|
source_extension=".c",
|
|
include_dirs=[
|
|
str(root_dir / "include"),
|