Fix -L support

This commit is contained in:
Anthony Green
2018-03-27 06:22:57 -04:00
parent d49911544b
commit d13583f55f

View File

@@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -x
# ***** BEGIN LICENSE BLOCK ***** # ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
# #
@@ -159,6 +161,7 @@ do
-L*) -L*)
path=`echo "$1" | sed 's/-L//'` path=`echo "$1" | sed 's/-L//'`
args+=("/LIBPATH:$path") args+=("/LIBPATH:$path")
shift 1
;; ;;
-l*) -l*)
IFS_save="$IFS" IFS_save="$IFS"