mirror of
https://github.com/boostorg/boost.git
synced 2025-04-08 22:48:50 +00:00
Use system layout on Linux by default
[SVN r54770]
This commit is contained in:
parent
8142265f64
commit
ad9144577f
1 changed files with 15 additions and 1 deletions
16
Jamroot
16
Jamroot
|
@ -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 ;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue