From e9a406d871a74242555f4b75715fe36950e6788c Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 17 Nov 2022 14:08:09 +0100 Subject: Enable debug builds on Windows Fix check in error message introduced by 72107fc39f15e3827297530dfad3c63f8e4ffcaa. Pick-to: 6.4 6.4.1 Change-Id: Ie6690d84d5f6aa83ebcca8517b90627ecce4b746 Reviewed-by: Adrian Herrmann Reviewed-by: Cristian Maureira-Fredes --- build_scripts/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build_scripts/options.py') diff --git a/build_scripts/options.py b/build_scripts/options.py index b00f1a1b8..8558906f7 100644 --- a/build_scripts/options.py +++ b/build_scripts/options.py @@ -517,7 +517,7 @@ class CommandMixin(object): log.error("Option --jobs can only be used with jom on Windows.") return False - if sys.platform == 'win32' and OPTION["LIMITED_API"] and self.debug: + if sys.platform == 'win32' and OPTION["LIMITED_API"] == "yes" and self.debug: log.error("It is not possible to make a debug build of PySide6 with limited API. " "Please select a release build or disable limited API.") return False -- cgit v1.2.3