automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[automake-commit] 03/03: compile: Improve support for C++ compilations o


From: Karl Berry
Subject: [automake-commit] 03/03: compile: Improve support for C++ compilations on MSYS2.
Date: Mon, 03 Feb 2025 17:18:33 -0500

karl pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=3fbc3f90d1bfdc68a3d12f3d08acde70e53befee

commit 3fbc3f90d1bfdc68a3d12f3d08acde70e53befee
Author: Bruno Haible <bruno@clisp.org>
AuthorDate: Mon Feb 3 14:18:16 2025 -0800

    compile: Improve support for C++ compilations on MSYS2.
    
    * lib/compile (func_file_conv): Use 'cygpath -w', not 'cygpath -m'
    (c:\... vs. c:/... resp.).
    * lib/ar-lib (func_file_conv): Likewise.
---
 lib/ar-lib  | 2 +-
 lib/compile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/ar-lib b/lib/ar-lib
index f85f879d8..d0a7b5c8a 100755
--- a/lib/ar-lib
+++ b/lib/ar-lib
@@ -77,7 +77,7 @@ func_file_conv ()
          file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
          ;;
        cygwin)
-         file=`cygpath -m "$file" || echo "$file"`
+         file=`cygpath -w "$file" || echo "$file"`
          ;;
        wine)
          file=`winepath -w "$file" || echo "$file"`
diff --git a/lib/compile b/lib/compile
index fc738d3d9..c404e89e4 100755
--- a/lib/compile
+++ b/lib/compile
@@ -81,7 +81,7 @@ func_file_conv ()
          file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
          ;;
        cygwin/*)
-         file=`cygpath -m "$file" || echo "$file"`
+         file=`cygpath -w "$file" || echo "$file"`
          ;;
        wine/*)
          file=`winepath -w "$file" || echo "$file"`



reply via email to

[Prev in Thread] Current Thread [Next in Thread]