diff options
Diffstat (limited to 'lib_symlinks')
-rwxr-xr-x | lib_symlinks | 5 |
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 |