Re: [PATCH] link -lintl at the end

LIU Hao <[email protected]> Thu, 24 Apr 2025 15:04:52 +0800
Newsgroups gmane.editors.nano.devel
Message-ID <[email protected]>
在 2025-4-24 14:50, Philippe Baril Lecavalier 写道:
> But... WHY? I sense your question is "Please fill the air with your
> intelligence, enlighten me on those compiler and linker mysteries so
> that I too can bask in superior programming skills." Unfortunately, I
> can't say much more than:

libintl is a direct dependency of gnulib, but it may also depend other later libraries. It's only a 
general advice to insert new dependencies right after their dependents.

BTW, it's a known issue: 
https://github.com/msys2/MSYS2-packages/blob/135c44822061034265d1b9d209a5f80ef1e32477/nano/0001-fix-link-order.patch


-- 
Best regards,
LIU Hao
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEYmSQWY4DEzq4FUs4hfveZl3ogBsFAmgJ4pQFAwAAAAAACgkQhfveZl3ogBuj
Ag/+KrUdJj8MB2Xn4mCuhG8cH7aNPjbDI7l+Uc+dt2y7k6VIfjlErIAVs8oGm3lEpwvof2v8fMtF
lGLNNPh8ocu7u0MGctUFZLVWEM7gniiect4R9FSG8VaaDihvhb090AG+K5GAZ/8vrAHfFWMAbUPp
V/+57jgXiwqD7ltCIu1UL7iyKeaUBG+iBZBQfn4ueK7uANoOxshbqwMEyWz5uUvR228t5N5bHIg7
oeZCINVm0aeheRixC5dnB6at5lPYzd5N3JweCWL0uPxSjmXtWYw+b5tewemcRZ8yu8vAUI3nR3I0
TzrhjjrihhF5CMB/eO5QeNUHfvuQzC3dpw8DldVdRwDh8B90I1ZhTwrj/RRybvBMFGx4m+aFzgaF
ilOkGtWMfLsmP8Z5JO2I8+VNEOro8F7AlJS8BEKpdgGUWPhYgzbNo4aXpnsCLNyfNS2Hu5Qxt+ds
uppaU4ET4sxLbmtQK2FolgqEVWwbBAiHY61RvPBm0qKc3FCa3RblqRpAb9M2YXsQUfE0AoqL5snf
rHsm3yBqeX17gXTTD3uXPgM2BFWuHxdelNFEy0diMm9RGjCy2+BYhabfHPsfgX5/Mi7VvTvDcBa7
gxGAKSRZhvRHd7m4pZoWHgVNGHwvXzBq+ZGd81ypLwUCyLHqGQQZSDLcBgcVdVM6QW10Z3mWANWt
jWw=
=nATL
-----END PGP SIGNATURE-----