* fixupPhase: don't barf if the output doesn't exist yet.
svn path=/nixpkgs/branches/stdenv-updates/; revision=11177
This commit is contained in:
parent
aaeed176c5
commit
68d08cd70d
@ -645,10 +645,12 @@ checkPhase() {
|
|||||||
patchELF() {
|
patchELF() {
|
||||||
# Patch all ELF executables and shared libraries.
|
# Patch all ELF executables and shared libraries.
|
||||||
header "patching ELF executables and libraries"
|
header "patching ELF executables and libraries"
|
||||||
|
if test -e "$prefix"; then
|
||||||
find "$prefix" \( \
|
find "$prefix" \( \
|
||||||
\( -type f -a -name "*.so*" \) -o \
|
\( -type f -a -name "*.so*" \) -o \
|
||||||
\( -type f -a -perm +0100 \) \
|
\( -type f -a -perm +0100 \) \
|
||||||
\) -print -exec patchelf --shrink-rpath {} \;
|
\) -print -exec patchelf --shrink-rpath {} \;
|
||||||
|
fi
|
||||||
stopNest
|
stopNest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user