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>
This commit is contained in:
parent
1cedac2bba
commit
4583ab77e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user