aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/backend/vs2010backend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py
index a9567f4..25124cc 100644
--- a/mesonbuild/backend/vs2010backend.py
+++ b/mesonbuild/backend/vs2010backend.py
@@ -217,7 +217,7 @@ class Vs2010Backend(backends.Backend):
if target.subdir == '':
return ''
- directories = target.subdir.split(os.sep)
+ directories = os.path.normpath(target.subdir).split(os.sep)
return os.sep.join(['..']*len(directories))
def special_quote(self, arr):