mirror of
https://github.com/boostorg/build.git
synced 2026-02-16 13:22:11 +00:00
Preserve the order of sources when calling generator
[SVN r55864]
This commit is contained in:
@@ -1245,7 +1245,10 @@ class basic-target : abstract-target
|
||||
source-targets += $(extra:G=) ;
|
||||
# We might get duplicate sources, for example if we link to two
|
||||
# libraries having the same <library> usage requirement.
|
||||
source-targets = [ sequence.unique $(source-targets) ] ;
|
||||
# Use stable sort, since for some targets the order is
|
||||
# important. E.g. RUN_PY target need python source to come
|
||||
# first.
|
||||
source-targets = [ sequence.unique $(source-targets) : stable ] ;
|
||||
|
||||
local result = [ construct $(self.name) : $(source-targets) :
|
||||
$(rproperties) ] ;
|
||||
|
||||
Reference in New Issue
Block a user