diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-10-07 15:05:55 +0200 |
---|---|---|
committer | Simo Fält <simo.falt@qt.io> | 2020-02-27 18:27:45 +0200 |
commit | cd1ffcb3ab9408b3595baa4f2939a65a44a2c052 (patch) | |
tree | aff913ce673d499d5dcd3452bb91fc2bc470f51b | |
parent | 6564925be8c6875f300d0013726a52337f23ca17 (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>
(cherry picked from commit bbfb6e2f102335d8bdc3678190f3c983d7babc6d)
-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(): |