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

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