We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df2d10e commit 0173a91Copy full SHA for 0173a91
configure
@@ -1000,7 +1000,19 @@ $mkvenv ensuregroup --dir "${source_path}/python/wheels" \
1000
# We ignore PATH completely here: we want to use the venv's Meson
1001
# *exclusively*.
1002
1003
-meson="$(cd pyvenv/bin; pwd)/meson"
+# for msys2
1004
+get_pwd() {
1005
+ if pwd -W >/dev/null 2>&1; then
1006
+ pwd -W
1007
+ else
1008
+ pwd
1009
+ fi
1010
+}
1011
+
1012
+meson="$(cd pyvenv/bin; get_pwd)/meson"
1013
+if [ -f "$meson$EXESUF" ]; then
1014
+ meson="$meson$EXESUF"
1015
+fi
1016
1017
# Conditionally ensure Sphinx is installed.
1018
0 commit comments