2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-16 13:22:11 +00:00

On Solaris host, assume sun linker.

[SVN r49619]
This commit is contained in:
Vladimir Prus
2008-11-06 18:13:17 +00:00
parent 57b08b5263
commit f2ed53b505

View File

@@ -137,6 +137,7 @@ rule init ( version ? : command * : options * )
common.handle-options gcc : $(condition) : $(command) : $(options) ;
local linker = [ feature.get-values <linker-type> : $(options) ] ;
# The logic below should actually be keyed on <target-os>
if ! $(linker)
{
if [ os.name ] = OSF
@@ -151,6 +152,10 @@ rule init ( version ? : command * : options * )
{
linker = aix ;
}
else if [ os.name ] = SOLARIS
{
linker = sun ;
}
else
{
linker = gnu ;