diff src/mkoctfile.in.cc @ 28137:7818c5b07403

Merge with stable
author Markus Mützel <markus.muetzel@gmx.de>
date Tue, 25 Feb 2020 19:26:33 +0100
parents 5b37e5e03bb5 16ccaebe250a
children 159b6a1eb408
line wrap: on
line diff
--- a/src/mkoctfile.in.cc	Sun Feb 23 14:23:09 2020 +0100
+++ b/src/mkoctfile.in.cc	Tue Feb 25 19:26:33 2020 +0100
@@ -792,7 +792,7 @@
       else if (starts_with (arg, "-Wl,") || starts_with (arg, "-l")
                || starts_with (arg, "-L") || starts_with (arg, "-R"))
         {
-          ldflags += (' ' + arg);
+          ldflags += (' ' + quote_path (arg));
         }
 #if ! defined (OCTAVE_USE_WINDOWS_API)
       else if (arg == "-pthread")