Process the sub-jam's opt packages before OptionalBuildFeatures
Several build features (including a future patch for WebKit) are enabled only if a respective optional package is added. Prior to this, none of those build features could be activated in a sub-jam process.
This commit is contained in:
parent
7101dd4b29
commit
f4eb5cf7e1
6
Jamfile
6
Jamfile
@ -128,15 +128,15 @@ Depends LocaleKit :
|
||||
LocaleKitTests
|
||||
;
|
||||
|
||||
# Prepare the optional build features before parsing the Jamfile tree.
|
||||
include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalBuildFeatures ] ;
|
||||
|
||||
# Add optional packages given via HAIKU_ADD_OPTIONAL_PACKAGES.
|
||||
if $(HAIKU_ADD_OPTIONAL_PACKAGES) {
|
||||
AddOptionalHaikuImagePackages
|
||||
[ FSplitString $(HAIKU_ADD_OPTIONAL_PACKAGES) : / ] ;
|
||||
}
|
||||
|
||||
# Prepare the optional build features before parsing the Jamfile tree.
|
||||
include [ FDirName $(HAIKU_BUILD_RULES_DIR) OptionalBuildFeatures ] ;
|
||||
|
||||
# Include packages that are required by all images.
|
||||
AddOptionalHaikuImagePackages MandatoryPackages ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user