summaryrefslogtreecommitdiff
path: root/msvcc.sh
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2018-03-27 06:22:57 -0400
committerAnthony Green <green@moxielogic.com>2018-03-27 06:22:57 -0400
commitd13583f55fb31a302684cbc62c300ae81eb577e9 (patch)
tree120afc8663025375d60a9b2af2a3ea77f0451af1 /msvcc.sh
parentd49911544bf9d2b4fab782b0c5e76a68074223df (diff)
downloadlibffi-d13583f55fb31a302684cbc62c300ae81eb577e9.tar.gz
Fix -L support
Diffstat (limited to 'msvcc.sh')
-rwxr-xr-xmsvcc.sh3
1 files changed, 3 insertions, 0 deletions
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"