summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2003-02-25 09:37:46 +0000
committerMystery Man <unknown@mandriva.org>2003-02-25 09:37:46 +0000
commit07dc2ddb40089c216ab4ff323de177ecab8f02ef (patch)
tree0b88fcba964e83b283b89aab8740fc3cdcd0d939 /perl-install/any.pm
parent327bd24f8e4291bd1882de1990dd7339f781a9cb (diff)
downloaddrakx-07dc2ddb40089c216ab4ff323de177ecab8f02ef.tar
drakx-07dc2ddb40089c216ab4ff323de177ecab8f02ef.tar.gz
drakx-07dc2ddb40089c216ab4ff323de177ecab8f02ef.tar.bz2
drakx-07dc2ddb40089c216ab4ff323de177ecab8f02ef.tar.xz
drakx-07dc2ddb40089c216ab4ff323de177ecab8f02ef.zip
This commit was manufactured by cvs2svn to create branch
'R9_0-64bit-branch'.
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index d1994d2c9..1909261e2 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -396,8 +396,8 @@ sub writeandclean_ldsoconf {
my ($prefix) = @_;
my $file = "$prefix/etc/ld.so.conf";
output $file,
- grep { !m|^(/usr)?/lib$| } #- no need to have /lib and /usr/lib in ld.so.conf
- uniq cat_($file), "/usr/X11R6/lib\n";
+ grep { !m|^(/usr)?/lib(64)?$| } #- no need to have /lib and /usr/lib in ld.so.conf
+ uniq cat_($file), (if_(arch() =~ /x86_64/, "/usr/X11R6/lib64\n"), "/usr/X11R6/lib\n");
}
sub shells {