diff options
author | NIIBE Yutaka <[email protected]> | 2021-11-12 02:05:53 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2021-11-12 02:05:53 +0000 |
commit | 4583ab77e5af3f0da5b307a169d07b58dddf652f (patch) | |
tree | 662bafe1ce79773234036d79b95ef4d97a867f13 | |
parent | tests: Build using GPG_ERROR_MT_LIBS for thread use. (diff) | |
download | gpgme-4583ab77e5af3f0da5b307a169d07b58dddf652f.tar.gz gpgme-4583ab77e5af3f0da5b307a169d07b58dddf652f.zip |
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 <[email protected]>
-rw-r--r-- | src/gpgme.pc.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpgme.pc.in b/src/gpgme.pc.in index be288b81..80d59de8 100644 --- a/src/gpgme.pc.in +++ b/src/gpgme.pc.in @@ -7,8 +7,8 @@ api_version=@GPGME_CONFIG_API_VERSION@ Name: gpgme Description: GnuPG Made Easy to access GnuPG -Requires: gpg-error, libassuan +Requires.private: gpg-error, libassuan Version: @PACKAGE_VERSION@ -Cflags: @GPGME_CONFIG_CFLAGS@ -Libs: @GPGME_CONFIG_LIBS@ +Cflags: -I${includedir} @GPGME_CONFIG_CFLAGS@ +Libs: -L${libdir} @GPGME_CONFIG_LIBS@ URL: https://www.gnupg.org/software/gpgme/index.html |