diff options
author | Anthony Green <green@moxielogic.com> | 2018-03-27 11:20:21 -0400 |
---|---|---|
committer | Anthony Green <green@moxielogic.com> | 2018-03-27 11:20:21 -0400 |
commit | b40a386c22a2bd164819b4f398b722357222b7c1 (patch) | |
tree | d633be54bf955b199d45149e0c6f4168ff3dd530 /msvcc.sh | |
parent | d78c5f64f834c24a769bee78cfb7db4d468b6b21 (diff) | |
download | libffi-b40a386c22a2bd164819b4f398b722357222b7c1.tar.gz |
Fix library path handling
Diffstat (limited to 'msvcc.sh')
-rwxr-xr-x | msvcc.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -!/bin/sh +#!/bin/sh # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 @@ -175,14 +175,14 @@ do IFS=\; found= for d in $libpaths; do - d=`cygpath $d` + d=$(cygpath $d) if [ -f "$d/lib${1#-l}.a" ]; then found="lib${1#-l}.a" break; fi done IFS="$IFS_save" - args="$args ${found:-${1#-l}.lib}" + linkargs="$linkargs ${found:-${1#-l}.lib}" shift 1 ;; -W|-Wextra) |