[pacman-dev] [PATCH] build: add libintl dependency to meson and the .pc file

Allan McRae allan at archlinux.org
Thu Jun 11 00:49:34 UTC 2020


On 19/5/20 5:18 am, Eli Schwartz wrote:
> In order to use gettext on systems where it is not part of libc, the
> correct linker flags are needed in libalpm.pc (for static compilation).
> This has never been the case.
> 
> The new meson build system currently only checks for ngettext in libc,
> but does not fall back to searching for the existence of -lintl; add it
> to the libalpm dependencies.
> 
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> ---
> 
> Fixes build on MSYS2, and possibly others. Part of
> https://github.com/msys2/MSYS2-packages/pull/1951
> 

>From that pull request, I can see the patch has been tested in the land
of MSYS2, so all good.

A


More information about the pacman-dev mailing list