From 79e6ebbe23430ec72d59ebd92e709f068fc5d7a4 Mon Sep 17 00:00:00 2001 From: mittorn Date: Tue, 9 Apr 2019 09:55:44 +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 c4c5b380..6174d452 100644 --- a/scripts/waflib/msdev.py +++ b/scripts/waflib/msdev.py @@ -593,12 +593,12 @@ class MsDevProject(MsDev): uselib_incs = bld.env['INCLUDES_%s' % dep] for uselib_inc in uselib_incs: root = bld.path.abspath().replace('\\', '/') - pref = os.path.commonprefix([root, userlib_inc]) + pref = os.path.commonprefix([root, uselib_inc]) if pref == root: node = bld.root.find_dir(include) if node: includes.append(node.path_from(gen.path).replace('/', '\\')) - incluses.append(userlib_inc) + incluses.append(uselib_inc) return includes def get_compiler_defines(self, gen):