diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-04-16 18:12:59 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-04-29 21:57:17 +1000 |
commit | ab7393c53edb3a399751aa41b5c8693157ae0aa3 (patch) | |
tree | 18320d2bbe8dbcd58c1ef68e9573c61e5e04e6c6 /lib/libalpm/libalpm.pc.in | |
parent | 91b72cc386ca03241791748da5da2b150c724ace (diff) | |
download | pacman-ab7393c53edb3a399751aa41b5c8693157ae0aa3.tar.xz |
libalpm.pc: migrate to Requires.private
pkg-config has built-in dependency handling, but we currently insert the
raw $LIBS into libalpm's own linker flags and fail to handle Cflags at
all.
For dependencies which support pkg-config, simply use that instead.
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.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libalpm/libalpm.pc.in b/lib/libalpm/libalpm.pc.in index e1d74ef9..6b905747 100644 --- a/lib/libalpm/libalpm.pc.in +++ b/lib/libalpm/libalpm.pc.in @@ -7,6 +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@ Cflags: -I${includedir} @LFS_CFLAGS@ Libs: -L${libdir} -lalpm -Libs.private: @LIBS@ @LIBARCHIVE_LIBS@ @LIBSSL_LIBS@ @NETTLE_LIBS@ @LIBCURL_LIBS@ @GPGME_LIBS@ +Libs.private: @LIBS@ @GPGME_LIBS@ |