This is a first hand fix against double-quoting libparrot on mingw. libparrot is already quoted in hints/mswin32.pm libparrot_ldflags A better fix would detected spaces in build_dir and quote the space with \ on posix shells, and protect it with " on mswin32. destdir or any other targetdir spaces need to to be detected like this, since their are entered by the user and as such properly quoted by the user. Index: parrot-svn/config/gen/makefiles/dynoplibs_pl.in =================================================================== --- parrot-svn.orig/config/gen/makefiles/dynoplibs_pl.in +++ parrot-svn/config/gen/makefiles/dynoplibs_pl.in @@ -35,15 +35,7 @@ our $LIBPARROT = q[]; #IF(parrot_is_shared):$LIBPARROT = q[@libparrot_ldflags@]; # Here comes some stuff for Win32. -our $PATHQUOTE = q[]; -if ($^O eq 'MSWin32') { - # Paths need quoting as they may contain spaces. - $PATHQUOTE = q["]; - - unless ($CC =~ /gcc/i) { - $LIBPARROT = '@build_dir@/libparrot@a@'; - } -} +our $PATHQUOTE = $^O eq 'MSWin32' ? '"' : ''; # OPS2C Config our $OPS2C = "$PERL -I $PATHQUOTE" .