* Don't patch symlinked shared libraries.
svn path=/nixpkgs/trunk/; revision=3195
This commit is contained in:
parent
98761b883a
commit
0a2f531aea
@ -535,8 +535,9 @@ 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 (BLA)"
|
||||||
find "$prefix" \( -name "*.so*" -o \
|
find "$prefix" \( \
|
||||||
|
\( -type f -a -name "*.so*" \) -o \
|
||||||
\( -type f -a -perm +0100 \) \
|
\( -type f -a -perm +0100 \) \
|
||||||
\) -exec patchelf --shrink-rpath {} \;
|
\) -exec patchelf --shrink-rpath {} \;
|
||||||
stopNest
|
stopNest
|
||||||
|
@ -6,16 +6,6 @@ preBuild() {
|
|||||||
make -f Makefile-libbz2_so
|
make -f Makefile-libbz2_so
|
||||||
}
|
}
|
||||||
|
|
||||||
patchELF() {
|
|
||||||
# Patch all ELF executables and shared libraries.
|
|
||||||
header "patching ELF executables and libraries (BLA)"
|
|
||||||
find "$prefix" \( \
|
|
||||||
\( -type f -a -name "*.so*" \) -o \
|
|
||||||
\( -type f -a -perm +0100 \) \
|
|
||||||
\) -exec patchelf --shrink-rpath {} \;
|
|
||||||
stopNest
|
|
||||||
}
|
|
||||||
|
|
||||||
preInstall=preInstall
|
preInstall=preInstall
|
||||||
preInstall() {
|
preInstall() {
|
||||||
ensureDir $out/lib
|
ensureDir $out/lib
|
||||||
|
Loading…
Reference in New Issue
Block a user