Home GnuPG
Diffusion GPGME 4583ab77e5af

gpgme.pc: Fix library dependency and use of includedir, libdir.

Description

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>

Details

Provenance
gniibeAuthored on Nov 12 2021, 3:05 AM
Parents
rM1cedac2bba24: tests: Build using GPG_ERROR_MT_LIBS for thread use.
Branches
Unknown
Tags
Unknown