aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-05-18 15:38:44 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-05-18 15:38:44 +0000
commitb2274f0cc5d94c2c3aad7f2a276437494ae0f7dd (patch)
treebd3698fa17710e8f803cac3bdf5c581f9db684e7
parent3387fc835d999650900f5d80f5bd55c1f3eeffbd (diff)
downloadspec-helper-b2274f0cc5d94c2c3aad7f2a276437494ae0f7dd.tar
spec-helper-b2274f0cc5d94c2c3aad7f2a276437494ae0f7dd.tar.gz
spec-helper-b2274f0cc5d94c2c3aad7f2a276437494ae0f7dd.tar.bz2
spec-helper-b2274f0cc5d94c2c3aad7f2a276437494ae0f7dd.tar.xz
spec-helper-b2274f0cc5d94c2c3aad7f2a276437494ae0f7dd.zip
- add patch from guillomovitch to fix #21079
-rwxr-xr-xlib_symlinks5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib_symlinks b/lib_symlinks
index 8cef7d9..cd8a03d 100755
--- a/lib_symlinks
+++ b/lib_symlinks
@@ -17,7 +17,10 @@ if [ -z "$RPM_BUILD_ROOT" ]; then
exit 0
fi
-libs=`find $RPM_BUILD_ROOT -type d -a "(" -name lib -o -name lib64 ")"`
+libs=`find $RPM_BUILD_ROOT -type d \
+ -a "(" -name lib -o -name lib64 ")" \
+ -a ! "(" -path '*/usr/src/debug*' -o -path '*/usr/lib/debug*' ")" \
+ `
if [ -n "$libs" -o -n "$EXTRA_LIBS_TO_SYMLINK" ]; then
/sbin/ldconfig -n -N $libs $EXTRA_LIBS_TO_SYMLINK