diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-08-29 06:45:37 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-08-29 06:45:37 -0700 |
commit | d22e28b070d3d1572d39a463d711c6f223078552 (patch) | |
tree | c441a28af6eb2dc8c215fece6877b9585d6d6d88 /scripts/test-installation.pl | |
parent | 050af9c4e86eeecd484ed44b7765e750523276eb (diff) | |
download | glibc-d22e28b070d3d1572d39a463d711c6f223078552.tar.gz glibc-d22e28b070d3d1572d39a463d711c6f223078552.tar.xz glibc-d22e28b070d3d1572d39a463d711c6f223078552.zip |
Use LD_SO to set $ld_so_name/$ld_so_version
Diffstat (limited to 'scripts/test-installation.pl')
-rwxr-xr-x | scripts/test-installation.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/test-installation.pl b/scripts/test-installation.pl index 1b22086bf9..0700770858 100755 --- a/scripts/test-installation.pl +++ b/scripts/test-installation.pl @@ -25,6 +25,11 @@ if ($ENV{CC}) { } else { $CC= "gcc"; } +if ($ENV{LD_SO}) { + $LD_SO = $ENV{LD_SO}; +} else { + $LD_SO = ""; +} sub usage { print "Usage: test-installation [soversions.mk]\n"; @@ -112,6 +117,8 @@ while (<SOVERSIONS>) { $link_libs .= " -l$name"; $versions{$name} = $version; } + } elsif ($LD_SO ne "") { + ($ld_so_name, $ld_so_version) = split ('\.so\.', $LD_SO); } else { if (/^ld\.so/) { ($ld_so_name, $ld_so_version)= /=(.*)\.so\.(.*)$/; |