Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch with Rpath rather than runpath, to give precedence to patched location over LD_LIBRARY_PATH #10

Merged
merged 7 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ for i in `ls`; do
[[ -d $PREFIX/$i/$j ]] && continue
[[ $j == "compute-sanitizer" ]] && continue

patchelf --set-rpath '$ORIGIN/../lib' $PREFIX/$i/$j
patchelf --set-rpath '$ORIGIN/../lib' --force-rpath $PREFIX/$i/$j
done
fi
done
4 changes: 2 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ source:
sha256: f15613b7c3088299659356456abfe2c3a98eed7eea9d8292fe0ec46726f5ec73 # [win]

build:
number: 1
number: 2
binary_relocation: false
skip: true # [osx]
missing_dso_whitelist:
Expand All @@ -33,7 +33,7 @@ requirements:
build:
- {{ compiler("c") }}
- {{ compiler("cxx") }}
- sysroot_{{ target_platform }} 2.17 # [linux]
- {{ stdlib("c") }}
- arm-variant * {{ arm_variant_type }} # [aarch64]
- patchelf <0.18.0 # [linux]
host:
Expand Down