branch development updated: libtool: Remove old_archive_from_new_cmds on OS/2

Ileana Dumitrescu <[email protected]> Mon, 27 Oct 2025 11:36:44 -0400
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
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 ca12ed42 libtool: Remove old_archive_from_new_cmds on OS/2
ca12ed42 is described below

commit ca12ed428f4ab50a4e5c9c3b89409556a056453e
Author: KO Myung-Hun <[email protected]>
AuthorDate: Sun Feb 9 23:23:30 2025 +0900

    libtool: Remove old_archive_from_new_cmds on OS/2
    
    old_archive_from_new_cmds is not used at all. In addition, if this is
    defined static libs are not generated.
    
    This is a regression of commit e60044.
    
    * m4/libtool.m4: Remove old_archive_from_new_cmds on OS/2.
---
 m4/libtool.m4 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 2f5d0e3c..6c3029f8 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -5434,7 +5434,6 @@ _LT_EOF
 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 	emximp -o $lib $output_objdir/$libname.def'
-      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
       _LT_TAGVAR(file_list_spec, $1)='@'
       ;;
@@ -6156,7 +6155,6 @@ _LT_EOF
 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 	emximp -o $lib $output_objdir/$libname.def'
-      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
       _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
       _LT_TAGVAR(file_list_spec, $1)='@'
       ;;
@@ -7035,7 +7033,6 @@ if test yes != "$_lt_caught_CXX_error"; then
 	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
 	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
 	  emximp -o $lib $output_objdir/$libname.def'
-	_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
 	_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
 	_LT_TAGVAR(file_list_spec, $1)='@'
 	;;