Skip to content

Commit

Permalink
Try simply not setting rpaths
Browse files Browse the repository at this point in the history
  • Loading branch information
alopezz committed Jan 25, 2024
1 parent e239693 commit 8471b0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .builders/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def build_macos():
# Path where we'll install libraries that we build
'DD_PREFIX_PATH': prefix_path,
# Common compilation flags
'LDFLAGS': f'-Wl,-rpath,{prefix_path}/lib -L{prefix_path}/lib',
'LDFLAGS': f'-L{prefix_path}/lib',
'CFLAGS': f'-I{prefix_path}/include -O2',
# Build command for extra platform-specific build steps
'DD_BUILD_COMMAND': f'bash {build_context_dir}/extra_build.sh'
Expand Down
3 changes: 2 additions & 1 deletion .builders/images/runner_dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ urllib3==2.1.0
auditwheel==5.4.0; sys_platform == 'linux'
delvewheel==1.5.2; sys_platform == 'win32'
# Custom patch to be able to strip (sanitize) absolute rpaths
delocate @ git+https://github.com/DataDog/delocate.git@8423951d8ff69bb5f3c7a1c44689c59b5c4ea4e3; sys_platform == 'darwin'
# delocate @ git+https://github.com/DataDog/delocate.git@8423951d8ff69bb5f3c7a1c44689c59b5c4ea4e3; sys_platform == 'darwin'
delocate==0.10.7; sys_platform == 'darwin'

0 comments on commit 8471b0e

Please sign in to comment.