diff options
Diffstat (limited to 'ltmain.sh')
-rw-r--r-- | ltmain.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ltmain.sh b/ltmain.sh index 12abf87a56a..a1c36109556 100644 --- a/ltmain.sh +++ b/ltmain.sh @@ -819,6 +819,7 @@ compiler." old_convenience= deplibs= linkopts= + linkflags= if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var @@ -1159,6 +1160,7 @@ compiler." # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` + linkflags="$linkflags $arg" case "$arg" in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) arg="\"$arg\"" |