diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2019-03-08 05:10:38 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-03-19 05:05:53 +0100 |
commit | 0a72874734ceafdf0a9f9e7a96c8b3f88507a54b (patch) | |
tree | c13dfd08367e3ebd39879e811e76d5547d0024f9 /lib | |
parent | 226d2c124884c7318b7fb86c2e6bdf792eddd1a9 (diff) | |
download | pacman-0a72874734ceafdf0a9f9e7a96c8b3f88507a54b.tar.gz pacman-0a72874734ceafdf0a9f9e7a96c8b3f88507a54b.tar.xz |
build: check for gpgme with pkg-config before gpgme-config
gpgme in git master now supports pkg-config and with the next release we
can and should prefer its use. However, retain the legacy code that
enables building with older versions of gpgme, as a fallback.
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/libalpm.pc.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/libalpm.pc.in b/lib/libalpm/libalpm.pc.in index 6b905747..126a6e6a 100644 --- a/lib/libalpm/libalpm.pc.in +++ b/lib/libalpm/libalpm.pc.in @@ -7,7 +7,7 @@ Name: libalpm Description: Arch Linux package management library URL: http://www.archlinux.org/pacman/ Version: @LIB_VERSION@ -Requires.private: libarchive @pc_crypto@ @pc_libcurl@ +Requires.private: libarchive @pc_crypto@ @pc_libcurl@ @pc_gpgme@ Cflags: -I${includedir} @LFS_CFLAGS@ Libs: -L${libdir} -lalpm -Libs.private: @LIBS@ @GPGME_LIBS@ +Libs.private: @LIBS@ @pc_gpgme_libs@ |