summaryrefslogtreecommitdiff
path: root/ltmain.sh
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-27 01:20:56 +0200
committermonty@donna.mysql.com <>2001-01-27 01:20:56 +0200
commita7c5b9c211cf0d5e1355ece0c65975c56b160bb1 (patch)
treebf79d814679a767435990f41e226728ee5927766 /ltmain.sh
parent5218a03a1d3780f765572eb2269aaec0bbf860c9 (diff)
downloadmariadb-git-a7c5b9c211cf0d5e1355ece0c65975c56b160bb1.tar.gz
Portability fixes for OPENBSD, OS2 and Windows
Diffstat (limited to 'ltmain.sh')
-rw-r--r--ltmain.sh2
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\""