mirror of
https://https.git.savannah.gnu.org/git/libtool.git
synced 2026-01-26 07:37:56 +00:00
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.
This commit is contained in:
parent
4ba29e983c
commit
6bc5e177b6
2
NEWS
2
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'.
|
||||
|
||||
@ -107,6 +107,7 @@ John Wolfe jlw@sco.com
|
||||
Joseph Beckenbach III jrb3@best.com
|
||||
Kenneth Albanowski kjahds@kjahds.com
|
||||
Khem Raj raj.khem@gmail.com
|
||||
Kirill Makurin maiddaisuki@outlook.com
|
||||
Kurt D. Zeilenga Kurt@OpenLDAP.Org
|
||||
Lawrence Velázquez larryv@macports.org
|
||||
Lionel Landwerlin llandwerlin@gmail.com
|
||||
|
||||
4
m4/libtool.m4
vendored
4
m4/libtool.m4
vendored
@ -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'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user