gpgme.pc: Fix library dependency and use of includedir, libdir.
* src/gpgme.pc.in (Require): Move gpg-error, libassuan to...
(Requires.private): ... here.
(Cflags): Add -I${includedir}.
(Libs): Add -L${libdir}.
--
This will result better library dependency for applications using
gpgme. It will break build of an application which directly uses
gpg-error or libassuan without specifying them (which means, depending
on redundant/wrong gpgme.pc).
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
NIIBE Yutaka
2 years ago
6 | 6 | |
7 | 7 | Name: gpgme |
8 | 8 | Description: GnuPG Made Easy to access GnuPG |
9 | Requires: gpg-error, libassuan | |
9 | Requires.private: gpg-error, libassuan | |
10 | 10 | Version: @PACKAGE_VERSION@ |
11 | Cflags: @GPGME_CONFIG_CFLAGS@ | |
12 | Libs: @GPGME_CONFIG_LIBS@ | |
11 | Cflags: -I${includedir} @GPGME_CONFIG_CFLAGS@ | |
12 | Libs: -L${libdir} @GPGME_CONFIG_LIBS@ | |
13 | 13 | URL: https://www.gnupg.org/software/gpgme/index.html |