From MAILER-DAEMON Wed Apr 22 13:34:42 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTG-0001v9-1Q
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:42 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTF-0001tv-4H
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTE-0002gA-Sa
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:40 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 81B01C09393; Wed, 22 Apr 2026 13:34:40 -0400 (EDT)
To: libtool-commit@gnu.org
Subject: master updated (1b6fc194 -> b08cb0a0)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 1b6fc1940b2b9104729c0a872aeb0fa6d3de71bf
X-Git-Newrev: b08cb0a06da153372dac8d184d24e7edfff2a209
Auto-Submitted: auto-generated
Date: Wed, 22 Apr 2026 13:34:40 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:34:41 -0000

ildumi pushed a change to branch master.

    from 1b6fc194 libtool.texi: Update link mode documentation
     new 67b84b81 ltmain.in: Recognise options for static linking with Clang
     new 25e078ec ltmain.in: Handle clang's -resource-dir flag.
     new 6f44760e libtool: Use echo in archive_cmds and archive_expsym_cmds on OS/2
     new e0d56414 ltmain.in: Recognise explicit shared library args
     new c9c59804 ltmain.in: Support OpenMP with macOS clang
     new 30115408 doc/libtool.texi: Add descriptions for new tests
     new 73391faf ltmain.in: Set allow_undefined to no on OS/2
     new 9ea17fa0 m4/libtool.m4: fix emscripten CXX postdeps using non-PIC sysroot
     new b08cb0a0 gnulib: Update submodule


Summary of changes:
 Makefile.am          |  1 +
 NEWS                 | 14 +++++++++
 build-aux/ltmain.in  | 54 ++++++++++++++++++++++++++-----
 doc/libtool.texi     |  7 +++++
 gnulib               |  2 +-
 m4/libtool.m4        | 56 +++++++++++++++++++--------------
 tests/deplib-path.at | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 7 files changed, 190 insertions(+), 33 deletions(-)
 create mode 100644 tests/deplib-path.at


From MAILER-DAEMON Wed Apr 22 13:34:44 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTH-0001w8-Ay
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTF-0001uU-FY
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTF-0002gV-7P
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 307E1C09393; Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org, Nicolas Boulenguez <nicolas@debian.org>
In-Reply-To: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
References: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: e0d56414b2027a0bc09d8cd7d9a396145f729672
Auto-Submitted: auto-generated
Message-Id: <20260422173441.307E1C09393@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:34:41 -0000

branch: master
commit e0d56414b2027a0bc09d8cd7d9a396145f729672
Author: Nicolas Boulenguez <nicolas@debian.org>
AuthorDate: Mon Feb 23 17:32:35 2026 +0100

    ltmain.in: Recognise explicit shared library args
    
    When linking a program, GNU Libtool recognises libfoo.so arguments, but
    it does not when linking shared libraries. Now, libfoo.so will be
    equivalent to linking with -l:libfoo.so or -lfoo.
    
    Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54726
    
    * build-aux/ltmain.in: Link an explicit shared library.
    * Makefile.am: Add new test file, deplib-path.at.
    * tests/deplib-path.at: Add new test for shared linking deplibs by the
      libN.so name.
    * NEWS: Update.
---
 Makefile.am          |  1 +
 NEWS                 |  3 ++
 build-aux/ltmain.in  | 23 ++++++++++++--
 tests/deplib-path.at | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 114 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 02d80926..52e00476 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -693,6 +693,7 @@ TESTSUITE_AT	= tests/testsuite.at \
 		  tests/execute-mode.at \
 		  tests/bindir.at \
 		  tests/cwrapper.at \
+		  tests/deplib-path.at \
 		  tests/deplib-in-subdir.at \
 		  tests/infer-tag.at \
 		  tests/localization.at \
diff --git a/NEWS b/NEWS
index 098b781a..a3a2321c 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,9 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
   - Pass 'resource-dir=*' flag for Clang.
 
+  - Recognise explicit shared library arguments when linking dependency
+    libraries to a shared library, like exists when linking a program.
+
 ** Bug fixes:
 
   - Store cygpath file path conversions correctly for MSYS2 and MSVC.
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 9108006c..df85f00b 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5795,8 +5795,8 @@ func_mode_link ()
 	fi
 	;;
 
-      *.$libext)
-	# An archive.
+      *.$libext|*.so)
+	# An archive or an explicit shared library.
 	func_append deplibs " $arg"
 	func_append old_deplibs " $arg"
 	continue
@@ -6174,6 +6174,25 @@ func_mode_link ()
 	  func_resolve_sysroot "$deplib"
 	  lib=$func_resolve_sysroot_result
 	  ;;
+	 *.so)
+	   case $linkmode,$pass in
+	     lib,*)
+	       deplibs="$deplib $deplibs"
+	       newdependency_libs="$deplib $newdependency_libs"
+	       ;;
+	     prog,link)
+	       compile_deplibs="$deplib $compile_deplibs"
+	       finalize_deplibs="$deplib $finalize_deplibs"
+	       ;;
+	     prog,*)
+	       deplibs="$deplib $deplibs"
+	       ;;
+	     *)
+	       func_warning "'$deplib' is ignored for archives/objects"
+	       ;;
+	   esac
+	   continue
+	   ;;
 	*.$libext)
 	  if test conv = "$pass"; then
 	    deplibs="$deplib $deplibs"
diff --git a/tests/deplib-path.at b/tests/deplib-path.at
new file mode 100644
index 00000000..0b2df158
--- /dev/null
+++ b/tests/deplib-path.at
@@ -0,0 +1,89 @@
+# deplib-path.at -- test shared linking deplibs by libN.so name -*- Autotest -*-
+#
+#   Copyright (C) 2020-2026 Free Software Foundation, Inc.
+#   Written by Nicolas Boulenguez, 2020-2026
+#
+#   This file is part of GNU Libtool.
+#
+# GNU Libtool is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# GNU Libtool is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Libtool.  If not, see <https://www.gnu.org/licenses/>.
+####
+
+# Ensures libN.so -l:libN.so -lN are equivalent
+
+AT_SETUP([shared linking deplibs by libN.so name])
+
+case $host_os in
+linux*) ;;
+*) noskip=false ;;
+esac
+
+AT_CHECK([$noskip || (exit 77)])
+
+AT_DATA([one.c],
+[[
+int one(void) { return 1; }
+]])
+
+AT_DATA([two.c],
+[[
+int two(void) { return 2; }
+]])
+
+AT_DATA([three.c],
+[[
+int three(void) { return 3; }
+]])
+
+AT_DATA([sum.c],
+[[
+extern int one(void);
+extern int two(void);
+extern int three(void);
+int sum(void) { return one()+two()+three(); }
+]])
+
+AT_DATA([configure.ac],
+[[
+AC_INIT([deplib-path], ]AT_PACKAGE_VERSION[, ]AT_PACKAGE_BUGREPORT[)
+AC_CONFIG_AUX_DIR([build-aux])
+AC_CONFIG_MACRO_DIR([m4])
+AM_INIT_AUTOMAKE
+AC_PROG_CC
+LT_INIT
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
+]])
+
+AT_DATA([Makefile.am],
+[[
+AUTOMAKE_OPTIONS = no-dependencies foreign
+ACLOCAL_AMFLAGS = -I m4
+AM_LDFLAGS = -no-undefined
+lib_LTLIBRARIES = libsum.la
+libsum_la_SOURCES = sum.c
+libsum_la_LIBADD = libone.so -L. -l:libtwo.so -lthree
+EXTRA_libsum_la_DEPENDENCIES = libtwo.so libthree.so
+libone.so libtwo.so libthree.so: CFLAGS += -fPIC
+libone.so libtwo.so libthree.so: lib%.so: %.o
+	$(LINK.c) -shared -o $@ $^
+]])
+
+LT_AT_LIBTOOLIZE
+LT_AT_ACLOCAL([-I m4])
+LT_AT_AUTOMAKE([--add-missing])
+LT_AT_AUTOCONF
+LT_AT_CONFIGURE
+LT_AT_MAKE
+
+AT_CLEANUP


From MAILER-DAEMON Wed Apr 22 13:34:44 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTI-0001wE-6S
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTF-0001v5-UI
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTF-0002gn-M4
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id A07B5C09393; Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org, KO Myung-Hun <komh78@gmail.com>
In-Reply-To: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
References: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 73391faf3726ffdb91d77586643ce532a9ff8a75
Auto-Submitted: auto-generated
Message-Id: <20260422173441.A07B5C09393@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:34:42 -0000

branch: master
commit 73391faf3726ffdb91d77586643ce532a9ff8a75
Author: KO Myung-Hun <komh78@gmail.com>
AuthorDate: Tue Mar 10 23:35:00 2026 +0900

    ltmain.in: Set allow_undefined to no on OS/2
    
    OS/2 does not allow undefined symbols at all when linking a dll. So,
    setting allow_undefined to no by default is reasonable.
    
    * build-aux/ltmain.in (func_mode_link): Set allow_undefined to no on
    OS/2.
---
 build-aux/ltmain.in | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 67175443..70d0e111 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -4838,7 +4838,15 @@ func_mode_link ()
       # even a static library is built.  For now, we need to specify
       # -no-undefined on the libtool link line when we can be certain
       # that all symbols are satisfied, otherwise we get a static library.
-      allow_undefined=yes
+      case $host in
+      *-*-os2*)
+        # OS/2 does not allow undefined symbols at all when linking a dll.
+        allow_undefined=no
+        ;;
+      *)
+        allow_undefined=yes
+        ;;
+      esac
       ;;
     *)
       allow_undefined=yes


From MAILER-DAEMON Wed Apr 22 13:34:48 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTL-0001xi-US
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTF-0001uB-8L
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTE-0002gB-Vy
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:40 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id A7F61C09394; Wed, 22 Apr 2026 13:34:40 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
References: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 67b84b8122f697d5bf7276be53abd3a6d042636c
Auto-Submitted: auto-generated
Message-Id: <20260422173440.A7F61C09394@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:34:40 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:34:41 -0000

branch: master
commit 67b84b8122f697d5bf7276be53abd3a6d042636c
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Tue Dec 30 18:08:05 2025 +0200

    ltmain.in: Recognise options for static linking with Clang
    
    Reported: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78072
    
    * build-aux/ltmain.in: Add --static and -Bstatic options.
    * NEWS: Update.
---
 NEWS                | 2 ++
 build-aux/ltmain.in | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 4b1ecc2d..0daedf1c 100644
--- a/NEWS
+++ b/NEWS
@@ -18,6 +18,8 @@ NEWS - list of user-visible changes between releases of GNU Libtool
   - Remove unused variable on OS/2, which could cause issues with static
     library generation if defined.
 
+  - Recognise more static linking options for Clang.
+
 ** Changes in supported systems or compilers:
 
   - Add support for SlimCC compiler.
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 68593972..d58b232b 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -4910,7 +4910,7 @@ func_mode_link ()
 	build_old_libs=no
 	break
 	;;
-      -all-static | -static | -static-libtool-libs)
+      -all-static | -static | -static-libtool-libs | --static | -Bstatic)
 	case $arg in
 	-all-static)
 	  if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
@@ -4927,7 +4927,7 @@ func_mode_link ()
 	  fi
 	  prefer_static_libs=built
 	  ;;
-	-static-libtool-libs)
+	-static-libtool-libs | --static | -Bstatic)
 	  if test -z "$pic_flag" && test -n "$link_static_flag"; then
 	    dlopen_self=$dlopen_self_static
 	  fi


From MAILER-DAEMON Wed Apr 22 13:34:48 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTM-0001y1-7Z
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTG-0001vH-3d
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:42 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTF-0002gt-R2
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id C626FC09393; Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Alexandre Janniaux <alexandre.janniaux@gmail.com>
In-Reply-To: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
References: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 9ea17fa02dc91b981a1ef0a29f1d7e597b622afa
Auto-Submitted: auto-generated
Message-Id: <20260422173441.C626FC09393@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:34:42 -0000

branch: master
commit 9ea17fa02dc91b981a1ef0a29f1d7e597b622afa
Author: Alexandre Janniaux <alexandre.janniaux@gmail.com>
AuthorDate: Tue Mar 10 18:46:58 2026 +0100

    m4/libtool.m4: fix emscripten CXX postdeps using non-PIC sysroot
    
    Commit d8a934458b251b465b7d31da9ba9148a128a146d introduced shared
    libraries support for emscripten, using -sSIDE_MODULE=1, but the CXX
    dependency detection in _LT_SYS_HIDDEN_LIBDEPS will only try to use
    `-shared` link option to discover implicit dependencies.
    
    The libraries and search paths reported by em++ differ depending on
    whether -sSIDE_MODULE=2 is passed:
    
      em++ -shared -v conftest.o:
        -L<sysroot>/lib/wasm32-emscripten  (<-- non-PIC)
           -lhtml5... (other -l flags)
    
      em++ -sSIDE_MODULE=2 -shared -v conftest.o
        -L<sysroot>/lib/wasm32-emscripten/pic  (<-- PIC)
           (no -l flags)
    
    Without -sSIDE_MODULE=2, the detected postdeps contain the non-PIC
    sysroot path and system libraries. These get injected into the CXX
    shared library link line before emcc can append the PIC sysroot,
    causing wasm-ld to resolve system libraries from non-PIC archives,
    typically in VLC build system:
    
        error: R_WASM_MEMORY_ADDR_LEB cannot be used against symbol;
               recompile with -fPIC
    
    We resolved the issue in VLC by patching the postdeps but they were not
    generated properly in the first place.
    
    Fix by overriding output_verbose_link_cmd for emscripten in
    _LT_LANG_CXX_CONFIG. The override passes -sSIDE_MODULE=2, matching what
    archive_cmds actually uses at link time so that the detected paths point
    to the PIC sysroot.
    
    * NEWS: Update.
---
 NEWS          | 2 ++
 m4/libtool.m4 | 8 ++++++++
 2 files changed, 10 insertions(+)

diff --git a/NEWS b/NEWS
index 091b99b6..813eb1a4 100644
--- a/NEWS
+++ b/NEWS
@@ -30,6 +30,8 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
   - Recognise more static linking options for Clang.
 
+  - Fix emscripten CXX postdeps using non-PIC sysroot.
+
 ** Changes in supported systems or compilers:
 
   - Add support for SlimCC compiler.
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index d8627ba2..84a34a12 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -7704,6 +7704,14 @@ if test yes != "$_lt_caught_CXX_error"; then
         _LT_TAGVAR(ld_shlibs, $1)=no
         ;;
 
+      emscripten*)
+        # Emscripten side modules (-sSIDE_MODULE=2) use a separate PIC sysroot
+        # and do not link system libraries (they are imported from the main module
+        # at runtime).  Re-run the verbose link with -sSIDE_MODULE=2 so that the
+        # detected paths point to the PIC sysroot instead of the non-PIC one.
+        output_verbose_link_cmd='$CC -sSIDE_MODULE=2 -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP " [[-]]L"'
+        ;;
+
       *)
         # FIXME: insert proper C++ library support
         _LT_TAGVAR(ld_shlibs, $1)=no


From MAILER-DAEMON Wed Apr 22 13:34:49 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTM-0001yh-S6
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:49 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTF-0001tx-5R
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTE-0002gC-TE
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:40 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id CF0F7C09395; Wed, 22 Apr 2026 13:34:40 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org, Alexey Samsonov <vonosmas@gmail.com>
In-Reply-To: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
References: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 25e078ec3b268fa7c9f698dc87e55495e3de7768
Auto-Submitted: auto-generated
Message-Id: <20260422173440.CF0F7C09395@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:34:40 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:34:41 -0000

branch: master
commit 25e078ec3b268fa7c9f698dc87e55495e3de7768
Author: Alexey Samsonov <vonosmas@gmail.com>
AuthorDate: Wed Feb 11 08:07:26 2026 +0000

    ltmain.in: Handle clang's -resource-dir flag.
    
    When Clang is used to cross compile, the user may list
    -resource-dir flag that Clang driver uses to discover
    target-specific headers and runtime libraries.
    
    * build-aux/ltmain.in: Pass clang's '-resource-dir=*' flag for
      choosing compiler resource files, such as runtime libraries
      through libtool unchanged.
    * NEWS: Update.
---
 NEWS                | 4 ++++
 build-aux/ltmain.in | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 0daedf1c..098b781a 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** New features:
+
+  - Pass 'resource-dir=*' flag for Clang.
+
 ** Bug fixes:
 
   - Store cygpath file path conversions correctly for MSYS2 and MSVC.
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index d58b232b..9108006c 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -5660,6 +5660,7 @@ func_mode_link ()
       # -fuse-ld=*           Linker select flags for GCC
       # -static-*            direct GCC to link specific libraries statically
       # -fcilkplus           Cilk Plus language extension features for C/C++
+      # -resource-dir=*      for selecting compiler resource directory with clang
       # -rtlib=*             select c runtime lib with clang
       # --unwindlib=*        select unwinder library with clang
       # -f{file|debug|macro|profile}-prefix-map=* needed for lto linking
@@ -5668,7 +5669,7 @@ func_mode_link ()
       -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
       -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*|--target=*| \
       -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-no-canonical-prefixes| \
-      -stdlib=*|-rtlib=*|--unwindlib=*| \
+      -stdlib=*|-resource-dir=*|-rtlib=*|--unwindlib=*| \
       -specs=*|-fsanitize=*|-fno-sanitize*|-shared-libsan|-static-libsan| \
       -ffile-prefix-map=*|-fdebug-prefix-map=*|-fmacro-prefix-map=*|-fprofile-prefix-map=*| \
       -fdiagnostics-color*|-frecord-gcc-switches| \


From MAILER-DAEMON Wed Apr 22 13:34:50 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTO-0001zI-0D
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:50 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTF-0001uf-LE
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTF-0002gb-Cw
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 58C47C09393; Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org, Dima Pasechnik <dima@pasechnik.info>
In-Reply-To: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
References: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: c9c59804175920990ae2dc9706fa23a2cd4717b0
Auto-Submitted: auto-generated
Message-Id: <20260422173441.58C47C09393@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:34:41 -0000

branch: master
commit c9c59804175920990ae2dc9706fa23a2cd4717b0
Author: Dima Pasechnik <dima@pasechnik.info>
AuthorDate: Thu Feb 26 14:19:52 2026 -0600

    ltmain.in: Support OpenMP with macOS clang
    
    llvm's OpenMP library using the macOS clang compiler requires prefixing the
    '-fopenmp' option with '-Xpreprocessor' non-standard option.
    
    Reported: https://lists.gnu.org/archive/html/libtool/2026-02/msg00002.html
    
    * build-aux/ltmain.in: Process '-Xpreprocessor -fopenmp' as one token.
    * NEWS: Update.
---
 NEWS                |  3 +++
 build-aux/ltmain.in | 14 ++++++++++++--
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index a3a2321c..091b99b6 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,9 @@ NEWS - list of user-visible changes between releases of GNU Libtool
   - Recognise explicit shared library arguments when linking dependency
     libraries to a shared library, like exists when linking a program.
 
+  - Support OpenMP with macOS clang by processing '-Xpreprocessor
+    -fopenmp' as one token.
+
 ** Bug fixes:
 
   - Store cygpath file path conversions correctly for MSYS2 and MSVC.
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index df85f00b..67175443 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -4944,6 +4944,16 @@ func_mode_link ()
     # See if our shared archives depend on static archives.
     test -n "$old_archive_from_new_cmds" && build_old_libs=yes
 
+    # make sure "-Xpreprocessor -fopenmp" is processed as one token
+    case $@ in
+    *-Xpreprocessor\ -fopenmp*)
+      fopenmp_match="-Xpreprocessor -fopenmp"
+      ;;
+    *)
+      fopenmp_match=-fopenmp
+      ;;
+    esac
+
     # Go through the arguments, transforming them on the way.
     while test "$#" -gt 0; do
       arg=$1
@@ -5433,7 +5443,7 @@ func_mode_link ()
 	continue
 	;;
       -mt|-mthreads|-kthread|-Kthread|-pthreads|--thread-safe \
-      |-threads|-fopenmp|-fopenmp=*|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+      |-threads|$fopenmp_match|fopenmp=*|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
 	func_append compiler_flags " $arg"
 	func_append compile_command " $arg"
 	func_append finalize_command " $arg"
@@ -6024,7 +6034,7 @@ func_mode_link ()
        continue
        ;;
 	-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
-        |-threads|-fopenmp|-fopenmp=*|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
+        |-threads|$fopenmp_match|fopenmp=*|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
 	  if test prog,link = "$linkmode,$pass"; then
 	    compile_deplibs="$deplib $compile_deplibs"
 	    finalize_deplibs="$deplib $finalize_deplibs"


From MAILER-DAEMON Wed Apr 22 13:34:48 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTM-0001xm-34
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTF-0001v0-RY
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTF-0002gi-JU
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 7FD8DC09393; Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
References: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 30115408d073c5d26431ddd2ffd4580fa4143433
Auto-Submitted: auto-generated
Message-Id: <20260422173441.7FD8DC09393@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:34:42 -0000

branch: master
commit 30115408d073c5d26431ddd2ffd4580fa4143433
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Sat Mar 14 16:01:19 2026 +0200

    doc/libtool.texi: Add descriptions for new tests
---
 doc/libtool.texi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/libtool.texi b/doc/libtool.texi
index d9f1a22c..b6857b72 100644
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -5552,6 +5552,10 @@ installing these libraries and programs; however, use consistent relative paths
 between @command{libtool} @option{--mode=link} and @command{libtool}
 @option{--mode=install} in this test.
 
+@item @file{tests/deplib-path.at}
+Tests linking shared deplibs by @file{libN.so} name and ensures linking
+@file{libN.so}, @file{-l:libN.so} and @file{-lN} is equivalent.
+
 @item @file{tests/deplibs-ident.at}
 Tests the correct detection and handling of identical dependency libraries when
 using @command{libtool}.
@@ -5766,6 +5770,9 @@ Additionally, this tests the behaviour of the @code{shlibpath_overrides_runpath}
 variable, which determines if it possible to override an executable's
 hardcoded library search path with an environment variable.
 
+@item @file{tests/slimcc.at}
+Tests for issues linking libraries in different order with the slimcc compiler.
+
 @item @file{tests/slist.at}
 Tests the functionality of the SList datastructure, which is an implementation
 of singly linked lists.  Tests include verifying the usual linked list


From MAILER-DAEMON Wed Apr 22 13:34:48 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTM-0001yI-NL
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTG-0001vU-7F
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:42 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTF-0002gz-V3
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id E3F32C09393; Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
References: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: b08cb0a06da153372dac8d184d24e7edfff2a209
Auto-Submitted: auto-generated
Message-Id: <20260422173441.E3F32C09393@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:34:41 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:34:42 -0000

branch: master
commit b08cb0a06da153372dac8d184d24e7edfff2a209
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Wed Apr 22 20:17:02 2026 +0300

    gnulib: Update submodule
---
 gnulib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnulib b/gnulib
index e93789db..6466c4b5 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit e93789db7e86c51d6cb9683ea508e676a55cdefa
+Subproject commit 6466c4b5321eb2625a25e582516c0fa4a5261d05


From MAILER-DAEMON Wed Apr 22 13:34:42 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTG-0001vL-6C
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:42 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTF-0001uF-E8
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTF-0002gK-1R
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:34:41 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 02A16C09393; Wed, 22 Apr 2026 13:34:40 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org, KO Myung-Hun <komh78@gmail.com>
In-Reply-To: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
References: <177687928014.16197.5023016422869357330@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Rev: 6f44760e260b7e869dc18ee0a840b3f77f272c71
Auto-Submitted: auto-generated
Message-Id: <20260422173441.02A16C09393@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:34:40 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:34:41 -0000

branch: master
commit 6f44760e260b7e869dc18ee0a840b3f77f272c71
Author: KO Myung-Hun <komh78@gmail.com>
AuthorDate: Mon Feb 16 16:19:21 2026 +0900

    libtool: Use echo in archive_cmds and archive_expsym_cmds on OS/2
    
    This fixes that building DLLs fails because $ECHO does not work when it
    is set to "printf %s\n".
    
    * m4/libtool.m4 (archive_cmds) [os2*]: Replace $ECHO with echo
    (archive_expsym_cmds) [os2*]: Likewise.
---
 m4/libtool.m4 | 48 ++++++++++++++++++++++++------------------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 9e88db3f..d8627ba2 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -5426,17 +5426,17 @@ _LT_EOF
       _LT_TAGVAR(hardcode_minus_L, $1)=yes
       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
       shrext_cmds=.dll
-      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
-	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
-	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
-	$ECHO EXPORTS >> $output_objdir/$libname.def~
+      _LT_TAGVAR(archive_cmds, $1)='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+	echo EXPORTS >> $output_objdir/$libname.def~
 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $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(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
-	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
-	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
-	$ECHO EXPORTS >> $output_objdir/$libname.def~
+      _LT_TAGVAR(archive_expsym_cmds, $1)='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+	echo EXPORTS >> $output_objdir/$libname.def~
 	prefix_cmds="$SED"~
 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
 	  prefix_cmds="$prefix_cmds -e 1d";
@@ -6147,17 +6147,17 @@ _LT_EOF
       _LT_TAGVAR(hardcode_minus_L, $1)=yes
       _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
       shrext_cmds=.dll
-      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
-	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
-	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
-	$ECHO EXPORTS >> $output_objdir/$libname.def~
+      _LT_TAGVAR(archive_cmds, $1)='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+	echo EXPORTS >> $output_objdir/$libname.def~
 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $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(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
-	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
-	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
-	$ECHO EXPORTS >> $output_objdir/$libname.def~
+      _LT_TAGVAR(archive_expsym_cmds, $1)='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+	echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+	echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+	echo EXPORTS >> $output_objdir/$libname.def~
 	prefix_cmds="$SED"~
 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
 	  prefix_cmds="$prefix_cmds -e 1d";
@@ -7025,17 +7025,17 @@ if test yes != "$_lt_caught_CXX_error"; then
 	_LT_TAGVAR(hardcode_minus_L, $1)=yes
 	_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
 	shrext_cmds=.dll
-	_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
-	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
-	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
-	  $ECHO EXPORTS >> $output_objdir/$libname.def~
+	_LT_TAGVAR(archive_cmds, $1)='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+	  echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+	  echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+	  echo EXPORTS >> $output_objdir/$libname.def~
 	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $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(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
-	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
-	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
-	  $ECHO EXPORTS >> $output_objdir/$libname.def~
+	_LT_TAGVAR(archive_expsym_cmds, $1)='echo "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
+	  echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
+	  echo "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
+	  echo EXPORTS >> $output_objdir/$libname.def~
 	  prefix_cmds="$SED"~
 	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
 	    prefix_cmds="$prefix_cmds -e 1d";


From MAILER-DAEMON Wed Apr 22 13:35:29 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbTx-0002Jw-Qg
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:35:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTi-0002Gy-Qs
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:35:11 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTi-0002zR-Io
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:35:10 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id 878B3C09393; Wed, 22 Apr 2026 13:35:10 -0400 (EDT)
To: libtool-commit@gnu.org
Subject: development updated (6ee302c8 -> af293c39)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Message-ID: <177687931025.17179.647385440157820029@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Oldrev: 6ee302c8e45b0e40771ae4ce86b79a603ab02fcc
X-Git-Newrev: af293c3956c10a6d9987e86c9be41f06e97d31f1
Auto-Submitted: auto-generated
Date: Wed, 22 Apr 2026 13:35:10 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:35:14 -0000

ildumi pushed a change to branch development.

    from 6ee302c8 NEWS: Update for previous commit
     new da5f414e gnulib: Update submodule
     new af293c39 NEWS: Reorder for consistency


Summary of changes:
 NEWS   | 6 +++---
 gnulib | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)


From MAILER-DAEMON Wed Apr 22 13:35:29 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbU1-0002K9-Dg
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:35:29 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTj-0002Hg-CC
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:35:12 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTj-0002za-42
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:35:11 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id CADF1C09393; Wed, 22 Apr 2026 13:35:10 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <177687931025.17179.647385440157820029@vcs2.savannah.gnu.org>
References: <177687931025.17179.647385440157820029@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: af293c3956c10a6d9987e86c9be41f06e97d31f1
Auto-Submitted: auto-generated
Message-Id: <20260422173510.CADF1C09393@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:35:10 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:35:14 -0000

branch: development
commit af293c3956c10a6d9987e86c9be41f06e97d31f1
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Wed Apr 22 20:24:55 2026 +0300

    NEWS: Reorder for consistency
---
 NEWS | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index 2db40450..813eb1a4 100644
--- a/NEWS
+++ b/NEWS
@@ -6,12 +6,12 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
   - Pass 'resource-dir=*' flag for Clang.
 
-  - Support OpenMP with macOS clang by processing '-Xpreprocessor
-    -fopenmp' as one token.
-
   - Recognise explicit shared library arguments when linking dependency
     libraries to a shared library, like exists when linking a program.
 
+  - Support OpenMP with macOS clang by processing '-Xpreprocessor
+    -fopenmp' as one token.
+
 ** Bug fixes:
 
   - Store cygpath file path conversions correctly for MSYS2 and MSVC.


From MAILER-DAEMON Wed Apr 22 13:35:37 2026
Received: from list by lists1p.gnu.org with archive (Exim 4.90_1)
	id 1wFbU1-0002KO-PQ
	for mharc-libtool-commit@gnu.org; Wed, 22 Apr 2026 13:35:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ileanadumitrescu95@gmail.com>)
 id 1wFbTi-0002H4-VG
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:35:11 -0400
Received: from vcs2.savannah.gnu.org ([209.51.188.168])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ileanadumitrescu95@gmail.com>) id 1wFbTi-0002zV-NE
 for libtool-commit@gnu.org; Wed, 22 Apr 2026 13:35:10 -0400
Received: by vcs2.savannah.gnu.org (Postfix, from userid 228928)
 id A930EC09393; Wed, 22 Apr 2026 13:35:10 -0400 (EDT)
To: libtool-commit@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Mail-Followup-To: libtool@gnu.org,
 Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
In-Reply-To: <177687931025.17179.647385440157820029@vcs2.savannah.gnu.org>
References: <177687931025.17179.647385440157820029@vcs2.savannah.gnu.org>
X-Git-Repo: libtool
X-Git-Refname: refs/heads/development
X-Git-Reftype: branch
X-Git-Rev: da5f414e9fc91866e7b2130be525a977b63e331d
Auto-Submitted: auto-generated
Message-Id: <20260422173510.A930EC09393@vcs2.savannah.gnu.org>
Date: Wed, 22 Apr 2026 13:35:10 -0400 (EDT)
From: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
 tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
 <mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Apr 2026 17:35:14 -0000

branch: development
commit da5f414e9fc91866e7b2130be525a977b63e331d
Author: Ileana Dumitrescu <ileanadumitrescu95@gmail.com>
AuthorDate: Wed Apr 22 20:17:02 2026 +0300

    gnulib: Update submodule
---
 gnulib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnulib b/gnulib
index e93789db..6466c4b5 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit e93789db7e86c51d6cb9683ea508e676a55cdefa
+Subproject commit 6466c4b5321eb2625a25e582516c0fa4a5261d05


