From: Scott Kitterman Date: Fri, 15 Dec 2017 19:05:22 +0000 (-0500) Subject: Fix sip_file path detection X-Git-Tag: archive/raspbian/2.10.4+dfsg-2+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5d0a93840d9edfac9ac2c557b352a87bba372194;p=qscintilla2.git Fix sip_file path detection Gbp-Pq: Name 0007-Fix-sip_file-path-detection.patch --- diff --git a/Python/configure.py b/Python/configure.py index 30a13f0..bf266cb 100644 --- a/Python/configure.py +++ b/Python/configure.py @@ -1369,7 +1369,7 @@ def _generate_code(target_config, opts, pkg_config, module_config): sip_file = module_config.get_sip_file(target_config) head, tail = os.path.split(sip_file) - while head: + while head != '/': head, tail = os.path.split(head) if tail != sip_file: