diff options
author | Anthony Green <green@moxielogic.com> | 2018-03-27 07:35:33 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2018-03-27 07:35:33 -0400 |
commit | 51ce3696cd0da4716d86b73a30bd89e139ec4b74 (patch) | |
tree | 02559445d23bf70fff42e533d7ffdf3ec63fb42f | |
parent | 70b93e4d863c1ff2a6498455339e17df3d7fe784 (diff) | |
download | libffi-51ce3696cd0da4716d86b73a30bd89e139ec4b74.tar.gz |
Use cygpath to convert windows paths
-rwxr-xr-x | msvcc.sh | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -147,13 +147,15 @@ do shift 1 ;; -I) - args="$args -I$2" - includes="$includes -I$2" + p=$(cygpath -w $2) + args="$args -I$p" + includes="$includes -I$p" shift 2 ;; -I*) - args="$args $1" - includes="$includes $1" + p=$(cygpath -w ${1#-I}) + args="$args -I$p" + includes="$includes -I$p" shift 1 ;; -L*) |