We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275f9d3 commit 09b6797Copy full SHA for 09b6797
scripts/build.py
@@ -79,6 +79,11 @@ def download_libcurl():
79
for file in glob(os.path.join(arch["libdir"], "bin/*.dll")):
80
shutil.move(file, arch["libdir"])
81
82
+ if arch["system"] == "Darwin":
83
+ # Fix the install name baked into the upstream dylib so delocate can find it
84
+ dylib = os.path.join(arch["libdir"], arch["so_name"])
85
+ os.system(f"install_name_tool -id @rpath/{arch['so_name']} {dylib}")
86
+
87
print("Files after unpacking")
88
print(os.listdir(arch["libdir"]))
89
0 commit comments