mirror of
https://github.com/partic2/libffi
synced 2026-11-09 17:47:19 +00:00
Fix library path handling
This commit is contained in:
@@ -158,11 +158,16 @@ do
|
||||
includes="$includes -I$p"
|
||||
shift 1
|
||||
;;
|
||||
-L)
|
||||
p=$(cygpath -m $2)
|
||||
args="$args /LIBPATH:$p"
|
||||
shift 2
|
||||
;;
|
||||
-L*)
|
||||
path=`echo "$1" | sed 's/-L//'`
|
||||
args+=("/LIBPATH:$path")
|
||||
shift 1
|
||||
;;
|
||||
p=$(cygpath -m ${1#-L})
|
||||
args="$args /LIBPATH:$p"
|
||||
shift 1
|
||||
;;
|
||||
-l*)
|
||||
IFS_save="$IFS"
|
||||
IFS=\;
|
||||
|
||||
Reference in New Issue
Block a user