Skip to content

Commit

Permalink
Remove absolute rpaths from bundled libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
alopezz committed Jan 25, 2024
1 parent 5bd8b09 commit e239693
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .builders/images/runner_dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ python-dotenv==1.0.0
urllib3==2.1.0
auditwheel==5.4.0; sys_platform == 'linux'
delvewheel==1.5.2; sys_platform == 'win32'
delocate==0.10.7; sys_platform == 'darwin'
# Custom patch to be able to strip (sanitize) absolute rpaths
delocate @ git+https://github.com/DataDog/delocate.git@8423951d8ff69bb5f3c7a1c44689c59b5c4ea4e3; sys_platform == 'darwin'
1 change: 1 addition & 0 deletions .builders/scripts/repair_wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def copy_filt_func(libname):
str(wheel),
os.path.join(output_dir, os.path.basename(wheel)),
copy_filt_func=copy_filt_func,
sanitize_rpaths=True,
)
print('Repaired wheel')
if copied_libs:
Expand Down

0 comments on commit e239693

Please sign in to comment.