libtool: Add new LLVM Flang runtime library name to exceptions

The Flang runtime library was renamed in LLVM 21. Add the new name of the
Flang runtime library to the list of static libraries that are allowed
exceptionally to be linked into shared libraries.
This commit is contained in:
Markus Mützel 2025-09-22 10:38:51 +02:00
parent bd21214005
commit bc75e1f0ac
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ index 5f9af8c2..97810d08 100644
+ # libraries is allowed, but linking other static libraries is
+ # non-portable.
+ case $potlib in
+ */libFortran*.$libext)
+ */libFortran*.$libext | */libflang_rt*.$libext)
+ func_append newdeplibs " $potlib"
+ a_deplib=
+ ;;

View File

@ -3,7 +3,7 @@
pkgbase=libtool
pkgname=('libtool' 'libltdl')
pkgver=2.5.4
pkgrel=3
pkgrel=4
pkgdesc="A generic library support script"
arch=('i686' 'x86_64')
url="https://www.gnu.org/software/libtool"
@ -34,7 +34,7 @@ sha256sums=('f81f5860666b0bc7d84baddefa60d1cb9fa6fceb2398cc3baca6afaa60266675'
'67e4f2429dfe67499b1829d0a8312d9a043057db354307f8db41d9f967944346'
'd873306936060e6c72cf0f3c174131cc85debc2ea6dc924eabdf6e3a813c768e'
'00f0b0429431a884b481eb92f4b138c50bc17eb09f0985d7ebfd4a0a50407eb6'
'30b361a43266dbd80c94fe58196113ad3ae78e134da62d9dfad65ac67e337db8'
'96538c6cb843f8673f4db8199402b4b02d9477d71c86df5f5e94e3e4d1347b54'
'0dd70a4f955ed4cd94a0d13b784b7db7dddbd4d1d6ee5b092202f8b9496fd3eb'
'2cb1b61247a4632698ac7e26c496c3ad8c1b4fde080d301994dbddc0794a4bf4'
'fca5986c0010b202ee65c69939815269bd46b3ce948d9222916985652da7e2af'