diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-23 11:58:49 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-07-23 11:58:49 +0000 |
commit | 5cf1d1f16c1401220ecaa7b3127343c7c6c095d2 (patch) | |
tree | 54b9a35ecbdce7afc4cae82642d6de2a4a7e0d11 /utils | |
parent | c1f7b11a6702e2397d89f7692c76fed567098176 (diff) | |
download | perl-5cf1d1f16c1401220ecaa7b3127343c7c6c095d2.tar.gz |
Introduce $Config{ldlibpthname} which contains
the name of the environment variable holding the
dynamic library search path, often LD_LIBRARY_PATH.
Use this new feature all over.
Also removed remnants of admonition "add LD_LIBRARY_PATH
before running make" because Makefile.SH does this for you.
p4raw-id: //depot/cfgperl@3725
Diffstat (limited to 'utils')
-rw-r--r-- | utils/perlbug.PL | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/perlbug.PL b/utils/perlbug.PL index 377893a959..c25eec01c3 100644 --- a/utils/perlbug.PL +++ b/utils/perlbug.PL @@ -527,9 +527,11 @@ EOF --- Environment for perl $]: EOF - for my $env (sort - (qw(PATH LD_LIBRARY_PATH LANG PERL_BADLANG SHELL HOME LOGDIR LANGUAGE), - grep /^(?:PERL|LC_)/, keys %ENV) + my @env = + qw(PATH LD_LIBRARY_PATH LANG PERL_BADLANG SHELL HOME LOGDIR LANGUAGE); + push @env, $Config{ldlibpthname} if $Config{ldlibpthname} ne ''; + for my $env (sort @env, + grep /^(?:PERL|LC_)/, keys %ENV) ) { print OUT " $env", exists $ENV{$env} ? "=$ENV{$env}" : ' (unset)', |