This is an automated email from the git hooks/post-receive script. ildumi pushed a commit to branch development in repository libtool.
The following commit(s) were added to refs/heads/development by this push: new 09e89cc2 libtool.m4: Fix '-Fe' usage with linking in MSVC 09e89cc2 is described below commit 09e89cc28da81d7e1bae189207eb4426636ccad6 Author: Ileana Dumitrescu <ileanadumitresc...@gmail.com> AuthorDate: Wed Nov 13 19:37:10 2024 +0200 libtool.m4: Fix '-Fe' usage with linking in MSVC A space after '-Fe' treats a file name as an input file instead of as the intended output file. * m4/libtool.m4: Remove space after '-Fe'. * NO-THANKS: Add Kirill Makurin for bug report 74175. * NEWS: Update. --- NEWS | 2 ++ NO-THANKS | 1 + m4/libtool.m4 | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 4694cab7..480a5430 100644 --- a/NEWS +++ b/NEWS @@ -34,6 +34,8 @@ NEWS - list of user-visible changes between releases of GNU Libtool - Fix linking for mingw with lld by prefering response files over the linker script. + - Fix '-Fe' usage with linking in MSVC. + ** Changes in supported systems or compilers: - Support additional flang-based compilers, 'f18' and 'f95'. diff --git a/NO-THANKS b/NO-THANKS index 218590bb..9a4da560 100644 --- a/NO-THANKS +++ b/NO-THANKS @@ -107,6 +107,7 @@ John Wolfe j...@sco.com Joseph Beckenbach III j...@best.com Kenneth Albanowski kja...@kjahds.com Khem Raj raj.k...@gmail.com +Kirill Makurin maiddais...@outlook.com Kurt D. Zeilenga k...@openldap.org Lawrence Velázquez lar...@macports.org Lionel Landwerlin llandwer...@gmail.com diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 857e9c11..a5d3df40 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -5667,14 +5667,14 @@ _LT_EOF # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. - _LT_TAGVAR(archive_cmds, $1)='$CC -Fe $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' + _LT_TAGVAR(archive_cmds, $1)='$CC -Fe$output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ - $CC -Fe $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ + $CC -Fe$tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'