Commit d13583f55fb31a302684cbc62c300ae81eb577e9

Anthony Green 2018-03-27T06:22:57

Fix -L support

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/msvcc.sh b/msvcc.sh
index 616e67c..77d7a74 100755
--- a/msvcc.sh
+++ b/msvcc.sh
@@ -1,5 +1,7 @@
 #!/bin/sh
 
+set -x
+
 # ***** BEGIN LICENSE BLOCK *****
 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
 #
@@ -159,6 +161,7 @@ do
     -L*)
         path=`echo "$1" | sed 's/-L//'`
         args+=("/LIBPATH:$path")
+	shift 1
         ;;
     -l*)
       IFS_save="$IFS"