diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-01-06 15:27:24 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-01-06 15:27:24 +0100 |
commit | 2bd58e61c2d4dbf8107afa7af40a5fb8466d4fd5 (patch) | |
tree | 9061b22019930ddd3466fb2979159ff2b4c105e1 | |
parent | d88b981284a251b1af45d0679dc06316eb39db7f (diff) | |
download | tde-packaging-2bd58e61c2d4dbf8107afa7af40a5fb8466d4fd5.tar.gz tde-packaging-2bd58e61c2d4dbf8107afa7af40a5fb8466d4fd5.zip |
DEB sip4-tqt: Fix python debug build detection at runtime.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py b/debian/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py index fb27b6475..5aa6d22c1 100644 --- a/debian/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py +++ b/debian/_base/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 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 diff --git a/ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py b/ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py index fb27b6475..5aa6d22c1 100644 --- a/ubuntu/_base/dependencies/sip4-tqt/debian/sip_tqt_config_py3.py +++ b/ubuntu/_base/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 |