Fix library path handling
This commit is contained in:
13
msvcc.sh
13
msvcc.sh
@@ -158,11 +158,16 @@ do
|
|||||||
includes="$includes -I$p"
|
includes="$includes -I$p"
|
||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
|
-L)
|
||||||
|
p=$(cygpath -m $2)
|
||||||
|
args="$args /LIBPATH:$p"
|
||||||
|
shift 2
|
||||||
|
;;
|
||||||
-L*)
|
-L*)
|
||||||
path=`echo "$1" | sed 's/-L//'`
|
p=$(cygpath -m ${1#-L})
|
||||||
args+=("/LIBPATH:$path")
|
args="$args /LIBPATH:$p"
|
||||||
shift 1
|
shift 1
|
||||||
;;
|
;;
|
||||||
-l*)
|
-l*)
|
||||||
IFS_save="$IFS"
|
IFS_save="$IFS"
|
||||||
IFS=\;
|
IFS=\;
|
||||||
|
|||||||
Reference in New Issue
Block a user