diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-10-07 15:05:55 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-10-07 16:07:01 +0200 |
commit | bbfb6e2f102335d8bdc3678190f3c983d7babc6d (patch) | |
tree | 45cfcb6c1bb985d91425cf84bf382ac2aea55a5e | |
parent | c16ae6b46d1e81450b9614037bbc9ec5803de1c5 (diff) |
Fix wrong "only package" condition in build_scripts/main.py
build_extension was meant to not run either when --only-package
is passed, or when the shiboken-generator is built as part of a
top-level build.
Fix the condition to represent that.
Amends 43fe3494a9d902034896e3afa7b5158c77163be0
Change-Id: I9dbc8694b932c88227fcd3a987cd1413bc55c286
Reviewed-by: Simo Fält <simo.falt@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r-- | build_scripts/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py index 05e9b0f72..5f536792a 100644 --- a/build_scripts/main.py +++ b/build_scripts/main.py @@ -705,7 +705,7 @@ class PysideBuild(_build): log.info("Creating install folder {}...".format(self.install_dir)) os.makedirs(self.install_dir) - if not (OPTION_ONLYPACKAGE + if (not OPTION_ONLYPACKAGE and not config.is_internal_shiboken_generator_build_and_part_of_top_level_all()): # Build extensions for ext in config.get_buildable_extensions(): |