Mercurial > octave
changeset 30533:022747aca7fe stable
mkoctfile.in.cc: Quote file names in Fortran compiler command.
author | Gene Harvey <gharveymn@gmail.com> |
---|---|
date | Fri, 24 Sep 2021 16:14:05 -0500 |
parents | 492a37a18b81 |
children | a8e988190128 |
files | src/mkoctfile.in.cc |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mkoctfile.in.cc Thu Dec 23 11:55:09 2021 +0100 +++ b/src/mkoctfile.in.cc Fri Sep 24 16:14:05 2021 -0500 @@ -1201,7 +1201,8 @@ std::string cmd = (vars["F77"] + " -c " + vars["FPICFLAG"] + ' ' + vars["ALL_FFLAGS"] + ' ' + incflags + ' ' + defs + ' ' - + pass_on_options + ' ' + f + " -o " + o); + + pass_on_options + ' ' + quote_path (f) + + " -o " + quote_path (o)); int status = run_command (cmd, verbose, printonly);