diff options
author | Ingo Klöcker <[email protected]> | 2022-08-22 17:09:54 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2022-08-22 17:09:54 +0000 |
commit | 1522813888257aafb6d108b49fb7b24005d2693a (patch) | |
tree | bbbc48f69db01ba48195b0c8ec8102f9dbbf8692 /src | |
parent | build: Update ax_cxx_compile_stdcxx macro (diff) | |
download | gpgme-1522813888257aafb6d108b49fb7b24005d2693a.tar.gz gpgme-1522813888257aafb6d108b49fb7b24005d2693a.zip |
build: Omit -I... and -L... for standard paths in pkgconfig file
* configure.ac (GPGME_CONFIG_CFLAGS): Prefix with -I${includedir} for
non-standard include paths.
(GPGME_CONFIG_LIBS): Prefix with -L${libdir} for non-standard library
paths.
* src/gpgme.pc.in (Cflags): Remove hard-coded -I${includedir}.
(Libs): Remove hard-coded -L${libdir}.
--
This helps prevent problems when building/linking something that depends
on gpgme (installed in standard path) and some other library (installed
in a standard path and a custom path).
See T6136 for related changes in libgpg-error.
Diffstat (limited to 'src')
-rw-r--r-- | src/gpgme.pc.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgme.pc.in b/src/gpgme.pc.in index 80d59de8..9ddef5cd 100644 --- a/src/gpgme.pc.in +++ b/src/gpgme.pc.in @@ -9,6 +9,6 @@ Name: gpgme Description: GnuPG Made Easy to access GnuPG Requires.private: gpg-error, libassuan Version: @PACKAGE_VERSION@ -Cflags: -I${includedir} @GPGME_CONFIG_CFLAGS@ -Libs: -L${libdir} @GPGME_CONFIG_LIBS@ +Cflags: @GPGME_CONFIG_CFLAGS@ +Libs: @GPGME_CONFIG_LIBS@ URL: https://www.gnupg.org/software/gpgme/index.html |