summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gpgme/gpgme/0001-Avoid-host-contamination-from-gpg-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gpgme/gpgme/0001-Avoid-host-contamination-from-gpg-config.patch')
-rw-r--r--meta/recipes-support/gpgme/gpgme/0001-Avoid-host-contamination-from-gpg-config.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-support/gpgme/gpgme/0001-Avoid-host-contamination-from-gpg-config.patch b/meta/recipes-support/gpgme/gpgme/0001-Avoid-host-contamination-from-gpg-config.patch
deleted file mode 100644
index 6ce58ba3f6..0000000000
--- a/meta/recipes-support/gpgme/gpgme/0001-Avoid-host-contamination-from-gpg-config.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 96cfc76def123141d0cecaab857da3880396d5ef Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 9 Mar 2017 22:11:00 +0200
4Subject: [PATCH] Avoid host contamination from gpg-config
5
6getconfig is calling gpgme-config (from the source tree) and it
7gives -L{libdir} (i.e. -L/usr/lib) as the first item for linking.
8
9Upstream-Status: Inappropriate [oe-core specific]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12 lang/python/setup.py.in | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/lang/python/setup.py.in b/lang/python/setup.py.in
16index 213fe33..22629e2 100755
17--- a/lang/python/setup.py.in
18+++ b/lang/python/setup.py.in
19@@ -86,7 +86,7 @@ subprocess.check_call([sys.executable, "gpgme-h-clean.py", gpg_error_h],
20 stdout=open("errors.i", "w"))
21
22 define_macros = []
23-libs = getconfig('libs')
24+libs = getconfig('libs')[1:]
25
26 # Define extra_macros for both the SWIG and C code
27 for k, v in extra_macros.items():
28--
292.11.0
30