[sr #111213] libtool reorders --as-needed, breaking it

Pierre Ossman <[email protected]> Tue, 1 Apr 2025 09:44:56 -0400 (EDT)
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
--8323329-33234830-1743515096=:3863611
Content-Type: TEXT/plain; CHARSET=utf-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

URL:=0A  <https://savannah.gnu.org/support/?111213>=0A=0A                 S=
ummary: libtool reorders --as-needed, breaking it=0A                   Grou=
p: GNU Libtool=0A               Submitter: cendossm=0A               Submit=
ted: Tue 01 Apr 2025 01:44:51 PM UTC=0A                Category: None=0A   =
             Priority: 5 - Normal=0A                Severity: 3 - Normal=0A=
                  Status: None=0A                 Privacy: Public=0A       =
      Assigned to: None=0A        Originator Email:=0A             Open/Clo=
sed: Open=0A         Discussion Lock: Any=0A        Operating System: None=
=0A=0A=0A    _______________________________________________________=0A=0AF=
ollow-up Comments:=0A=0A=0A------------------------------------------------=
-------=0ADate: Tue 01 Apr 2025 01:44:51 PM UTC By: Pierre Ossman <cendossm=
>=0AWe want to add --as-needed to some of our libraries to avoid dragging i=
n=0Aunneeded dependencies in some complex build systems.=0A=0AUnfortunately=
, it breaks when libtool is involved as it reorders it and puts=0Ait after =
the relevant libraries.=0A=0AWe've been carrying the attached patch for som=
e time. Perhaps something like=0Ait can be merged upstream?=0A=0A=0A=0A=0A=
=0A=0A    _______________________________________________________=0AFile At=
tachments:=0A=0A=0A-------------------------------------------------------=
=0AName: libtool-2.5.3-as-needed.patch  Size: 990B=0A<https://file.savannah=
.gnu.org/file/libtool-2.5.3-as-needed.patch?file_id=3D57090>=0A=0A    AGPL =
NOTICE=0A=0AThese attachments are served by Savane. You can download the co=
rresponding=0Asource code of Savane at=0Ahttps://savannah.gnu.org/source/sa=
vane-d621bceb89df77f95d080539892a841b70f85118.tar.gz=0A=0A    _____________=
__________________________________________=0A=0AReply to this item at:=0A=
=0A  <https://savannah.gnu.org/support/?111213>=0A=0A______________________=
_________________________=0AMessage sent via Savannah=0Ahttps://savannah.gn=
u.org/=0A
--8323329-33234830-1743515096=:3863611
Content-Type: APPLICATION/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ+vt2AAKCRCqLAuaBUf3
TgYkAP9m0dvOxmtJrsjTw/vVmgxX0419aq8QOIdWZ/BmcEueoAEAhofFkzsY/HEv
gmULuqM9/B8/LhW0ft+SLnchQFaHNAg=
=HLw1
-----END PGP SIGNATURE-----

--8323329-33234830-1743515096=:3863611--