From d7c7b22025b09d2730a3b4ffadde8d5a50fc3838 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 29 Jun 2005 09:36:28 +0000 Subject: - have /lib/tls/lib*.so* instead of replacing them with /lib/lib*.so* otherwise rpm database gets corrupted - don't need setting LD_ASSUME_KERNEL anymore (it wasn't enough, and we now have tls libs) --- tools/install-xml-file-list | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/install-xml-file-list') diff --git a/tools/install-xml-file-list b/tools/install-xml-file-list index dbe5169a9..f8944ccbd 100755 --- a/tools/install-xml-file-list +++ b/tools/install-xml-file-list @@ -128,7 +128,10 @@ sub collect_needed_libraries { my $to_check = join(' ', @to_check); my @l = `ldd $to_check 2>/dev/null` =~ m! => (/\S+)!g; foreach (@l) { - s!^(/lib(64)?/).*?/!$1! if $main_node->{attr}{'no-arch-libraries'}; #- replace /lib/tls or /lib/i686 with /lib + if ($main_node->{attr}{'no-arch-libraries'}) { + #- replace /lib/i686 with /lib (but keep /lib/tls) + s!^(/lib(64)?/).*?/!$1! if !m!/tls/!; + } } @to_check = grep { !$needed_libraries{$_}++ } @l; @to_check = (); -- cgit v1.2.1