Use system layout on Linux by default

[SVN r54770]
This commit is contained in:
Vladimir Prus 2009-07-07 14:39:26 +00:00
parent 8142265f64
commit ad9144577f

16
Jamroot
View file

@ -277,7 +277,21 @@ rule libraries-to-install ( existing-libraries * )
# What kind of layout are we doing?
layout = [ MATCH "^--layout=(.*)" : [ modules.peek : ARGV ] ] ;
layout ?= versioned ;
# On Windows, we used versioned layout by default in order to
# be compatible with autolink. On other systems, we use system
# layout which is what every other program uses. Note that windows
# check is static, and won't
if ! $(layout)
{
if [ modules.peek : NT ]
{
layout = versioned ;
}
else
{
layout = system ;
}
}
layout-$(layout) = true ;