Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/libalpm.pc.in
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2020-05-18 15:18:12 -0400
committerAllan McRae <allan@archlinux.org>2020-06-11 10:47:14 +1000
commit3bd88821bbfc8066a63ddfc9959e78984bc17750 (patch)
treed5b9b8ce664e562c06c447ab1045b9ece5afba8c /lib/libalpm/libalpm.pc.in
parente348ba38814c9cc7c1c9892d0451096234dc39ab (diff)
build: add libintl dependency to meson and the .pc file
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@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/libalpm.pc.in')
-rw-r--r--lib/libalpm/libalpm.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/libalpm.pc.in b/lib/libalpm/libalpm.pc.in
index 126a6e6a..da7f96aa 100644
--- a/lib/libalpm/libalpm.pc.in
+++ b/lib/libalpm/libalpm.pc.in
@@ -10,4 +10,4 @@ Version: @LIB_VERSION@
Requires.private: libarchive @pc_crypto@ @pc_libcurl@ @pc_gpgme@
Cflags: -I${includedir} @LFS_CFLAGS@
Libs: -L${libdir} -lalpm
-Libs.private: @LIBS@ @pc_gpgme_libs@
+Libs.private: @LIBS@ @pc_gpgme_libs@ @LIBINTL@