Skip to content

Commit 6c93298

Browse files
committed
fix mingw
1 parent b06e796 commit 6c93298

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

qemu/configure

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ ld_has() {
198198
# make source path absolute
199199
source_path=$(cd "$(dirname -- "$0")"; pwd)
200200

201+
# Avoid having D:\ in $PWD under MinGW.
202+
PWD=$(pwd)
201203
if printf %s\\n "$source_path" "$PWD" | grep -q "[[:space:]:]";
202204
then
203205
error_exit "main directory $source_path or $PWD cannot contain spaces nor colons"

0 commit comments

Comments
 (0)