aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gpgme/gpgme/0001-gpgme-config-skip-all-lib-or-usr-lib-directories-in-.patch
blob: 84d55b968596b7d0161a26a03a4829e51f990969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 8c317f6186bd3a9a1c80b4d1e872b3db95934bb6 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Thu, 13 Apr 2017 16:40:27 +0300
Subject: [PATCH] gpgme-config: skip all /lib* or /usr/lib* directories in
 output

The logic was not working in multilib setups which use other
directory names than plain /lib or /usr/lib.

Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
 src/gpgme-config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gpgme-config.in b/src/gpgme-config.in
index a4d152e..8342865 100644
--- a/src/gpgme-config.in
+++ b/src/gpgme-config.in
@@ -154,7 +154,7 @@ while test $# -gt 0; do
             for i in $libs $tmp_l $assuan_libs $gpg_error_libs $tmp_x; do
               skip=no
               case $i in
-                  -L/usr/lib|-L/lib)
+                  -L/usr/lib*|-L/lib*)
                       skip=yes
                       ;;
                   -L*|-l*)
-- 
2.11.0