Blame SOURCES/0001-don-t-add-extra-libraries-for-linking.patch

ecc743
From 07a8ac908cbadb22c344895ebf9cc00c6a8fd3f7 Mon Sep 17 00:00:00 2001
ecc743
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
ecc743
Date: Wed, 29 Mar 2017 07:05:41 +0200
ecc743
Subject: [PATCH] don't add extra libraries for linking
ecc743
ecc743
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
ecc743
---
ecc743
 lang/cpp/src/GpgmeppConfig.cmake.in.in | 2 +-
ecc743
 src/gpgme-config.in                    | 6 +++---
ecc743
 2 files changed, 4 insertions(+), 4 deletions(-)
ecc743
ecc743
diff --git a/lang/cpp/src/GpgmeppConfig.cmake.in.in b/lang/cpp/src/GpgmeppConfig.cmake.in.in
ecc743
index 73f5eaad..3104d715 100644
ecc743
--- a/lang/cpp/src/GpgmeppConfig.cmake.in.in
ecc743
+++ b/lang/cpp/src/GpgmeppConfig.cmake.in.in
ecc743
@@ -63,7 +63,7 @@ add_library(Gpgmepp SHARED IMPORTED)
ecc743
 
ecc743
 set_target_properties(Gpgmepp PROPERTIES
ecc743
   INTERFACE_INCLUDE_DIRECTORIES "@resolved_includedir@/gpgme++;@resolved_includedir@"
ecc743
-  INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme@libsuffix@;@LIBASSUAN_LIBS@"
ecc743
+  INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme@libsuffix@"
ecc743
   IMPORTED_LOCATION "@resolved_libdir@/libgpgmepp@libsuffix@"
ecc743
 )
ecc743
 
ecc743
diff --git a/src/gpgme-config.in b/src/gpgme-config.in
ecc743
index a4d152e1..6a854e4a 100644
ecc743
--- a/src/gpgme-config.in
ecc743
+++ b/src/gpgme-config.in
ecc743
@@ -22,12 +22,12 @@ cflags="-I@includedir@"
ecc743
 libs="-L@libdir@"
ecc743
 
ecc743
 # Network libraries.
ecc743
-assuan_cflags="@LIBASSUAN_CFLAGS@"
ecc743
-assuan_libs="@LIBASSUAN_LIBS@"
ecc743
+#assuan_cflags="@LIBASSUAN_CFLAGS@"
ecc743
+#assuan_libs="@LIBASSUAN_LIBS@"
ecc743
 
ecc743
 # Configure libgpg-error.
ecc743
 gpg_error_cflags="@GPG_ERROR_CFLAGS@"
ecc743
-gpg_error_libs="@GPG_ERROR_LIBS@"
ecc743
+#gpg_error_libs="@GPG_ERROR_LIBS@"
ecc743
 
ecc743
 # Configure thread packages.
ecc743
 thread_modules=""
ecc743
-- 
ecc743
2.15.1
ecc743