From 2bd58e61c2d4dbf8107afa7af40a5fb8466d4fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 6 Jan 2023 15:27:24 +0100 Subject: DEB sip4-tqt: Fix python debug build detection at runtime. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- dilos/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dilos/dependencies') diff --git a/dilos/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py b/dilos/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py index fb27b6475..5aa6d22c1 100644 --- a/dilos/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py +++ b/dilos/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py @@ -2,7 +2,7 @@ import sys -if getattr(sys, "pydebug", False): +if 'd' in sys.abiflags: try: from sip_tqt_config_d import * from sip_tqt_config_d import _pkg_config, _default_macros -- cgit v1.2.1