From f6b360393429523f525227e78c32da870508441c Mon Sep 17 00:00:00 2001 From: mittorn Date: Tue, 9 Apr 2019 11:46:20 +0000 Subject: [PATCH] msdev: fix --- scripts/waflib/msdev.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/waflib/msdev.py b/scripts/waflib/msdev.py index fe91b34f..ca75171a 100644 --- a/scripts/waflib/msdev.py +++ b/scripts/waflib/msdev.py @@ -598,9 +598,9 @@ class MsDevProject(MsDev): Logs.pprint('YELLOW', 'root: ' + bld.root.abspath()) root = bld.root.abspath().replace('\\', '/') pref = os.path.commonprefix([root, uselib_inc]) - Logs.pprint('YELLOW', 'pref: ' + pref.abspath()) + Logs.pprint('YELLOW', 'pref: '+ pref) if pref == root: - node = bld.top_dir.find_dir(uselib_inc) + node = bld.root.find_dir(uselib_inc) if node: includes.append(node.path_from(gen.path).replace('/', '\\')) includes.append(uselib_inc)