summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install2.pm1
-rw-r--r--perl-install/share/list.xml11
-rwxr-xr-xtools/install-xml-file-list5
3 files changed, 4 insertions, 13 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 1fab5e8f3..d31a6acae 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -331,7 +331,6 @@ sub main {
install_steps_auto_install_non_interactive::errorInStep($o, $msg);
};
$ENV{PERL_BADLANG} = 1;
- $ENV{LD_ASSUME_KERNEL} = '2.4.1';
delete $ENV{TERMINFO};
umask 022;
diff --git a/perl-install/share/list.xml b/perl-install/share/list.xml
index 841c6182f..6f2138fb4 100644
--- a/perl-install/share/list.xml
+++ b/perl-install/share/list.xml
@@ -119,17 +119,6 @@
/usr/share/themes/Galaxy/gtk-2.0/gtkrc
/bin/brltty
- /lib/tls/libc-2.3.5.so
- /lib/tls/libc.so.6
- /lib/tls/libm-2.3.5.so
- /lib/tls/libm.so.6
- /lib/tls/libpthread-0.10.so
- /lib/tls/libpthread.so.0
- /lib/tls/librt-2.3.5.so
- /lib/tls/librt.so.1
- /lib/tls/libthread_db-1.0.so
- /lib/tls/libthread_db.so.1
-
<from expand="glob">
/etc/brltty/text.*.tbl
/etc/brltty/brltty-??.hlp
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 = ();