From 46f7ebff210548a8dbae1c985a19e8cd2d6cb5e8 Mon Sep 17 00:00:00 2001 From: Scott Kitterman Date: Fri, 15 Dec 2017 14:05:22 -0500 Subject: [PATCH] Fix sip_file path detection Gbp-Pq: Name 0007-Fix-sip_file-path-detection.patch --- Python/configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/configure.py b/Python/configure.py index d2a5bc9..401e692 100644 --- a/Python/configure.py +++ b/Python/configure.py @@ -1362,7 +1362,7 @@ def _generate_code(target_config, opts, pkg_config, module_config, all_installs) 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: -- 2.30.2