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 13:51:13 +02:00
parent aca9efbc56
commit aecc5ee4a8
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

@@ -5,7 +5,7 @@ _realname=libtool
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-libtool" "${MINGW_PACKAGE_PREFIX}-libltdl")
pkgver=2.5.4
pkgrel=1
pkgrel=2
pkgdesc="A generic library support script (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
@@ -37,7 +37,7 @@ sha256sums=('f81f5860666b0bc7d84baddefa60d1cb9fa6fceb2398cc3baca6afaa60266675'
'67e4f2429dfe67499b1829d0a8312d9a043057db354307f8db41d9f967944346'
'd873306936060e6c72cf0f3c174131cc85debc2ea6dc924eabdf6e3a813c768e'
'00f0b0429431a884b481eb92f4b138c50bc17eb09f0985d7ebfd4a0a50407eb6'
'30b361a43266dbd80c94fe58196113ad3ae78e134da62d9dfad65ac67e337db8'
'96538c6cb843f8673f4db8199402b4b02d9477d71c86df5f5e94e3e4d1347b54'
'0dd70a4f955ed4cd94a0d13b784b7db7dddbd4d1d6ee5b092202f8b9496fd3eb'
'2cb1b61247a4632698ac7e26c496c3ad8c1b4fde080d301994dbddc0794a4bf4'
'acec8e76b0d65c7b5f442203b2446d92a2f81ceaaa211cd2e6b8a036f5115280'