Commit 1c408d76 authored by Hendryk Bockelmann's avatar Hendryk Bockelmann
Browse files

add patch by Sergey Kosukhin to work with BSD and GNU seds

parent 24ce8634
......@@ -5,8 +5,8 @@
fi
fi
+ m4_ifval([$1],
+ [_LT_TAGVAR(archive_cmds, $1)=`AS_ECHO(["$_LT_TAGVAR(archive_cmds, $1)"]) | sed 's%\(\\\\\)\?\$CC%\\${FC:-\1$CC}%g'`
+ _LT_TAGVAR(archive_expsym_cmds, $1)=`AS_ECHO(["$_LT_TAGVAR(archive_expsym_cmds, $1)"]) | sed 's%\(\\\\\)\?\$CC%\\${FC:-\1$CC}%g'`])
+ [_LT_TAGVAR(archive_cmds, $1)=`AS_ECHO(["$_LT_TAGVAR(archive_cmds, $1)"]) | sed 's%\(\\\\\)*$CC%\1${$1:-\1$CC}%g'`
+ _LT_TAGVAR(archive_expsym_cmds, $1)=`AS_ECHO(["$_LT_TAGVAR(archive_expsym_cmds, $1)"]) | sed 's%\(\\\\\)*$CC%\1${$1:-\1$CC}%g'`])
])
AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment