aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-07-17 09:20:57 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2020-07-19 14:58:23 +0300
commit43129a11edab304c98e94af4d894f5f872617fa5 (patch)
tree62391f764e88aea1918063d78967f9fbc183450a
parent59910c437a81b94c72e3cbdfc2c3612fae576d6e (diff)
downloadmeson-43129a11edab304c98e94af4d894f5f872617fa5.zip
meson-43129a11edab304c98e94af4d894f5f872617fa5.tar.gz
meson-43129a11edab304c98e94af4d894f5f872617fa5.tar.bz2
Fix a comment about cross compilation with clang-cl [skip ci]
This comment was added in 0fbd09609f4, where the case of a forward slash was added for the case when cross compiling.
-rw-r--r--mesonbuild/backend/ninjabackend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index 065da00..8c66fd0 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -459,7 +459,7 @@ int dummy;
# different locales have different messages with a different
# number of colons. Match up to the the drive name 'd:\'.
# When used in cross compilation, the path separator is a
- # backslash rather than a forward slash so handle both.
+ # forward slash rather than a backslash so handle both.
matchre = re.compile(rb"^(.*\s)([a-zA-Z]:\\|\/).*stdio.h$")
def detect_prefix(out):