blob: 2da79043dd2231b6d19a3106b7ae2afeb2564134 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From a58d90632a9907be3e8001800a143ac19075241a Mon Sep 17 00:00:00 2001
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 13 Apr 2017 16:40:27 +0300
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08004Subject: [PATCH 5/7] gpgme-config: skip all /lib* or /usr/lib* directories in
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005 output
6
7The logic was not working in multilib setups which use other
8directory names than plain /lib or /usr/lib.
9
10Upstream-Status: Inappropriate [oe-core specific]
11Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
12---
13 src/gpgme-config.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/gpgme-config.in b/src/gpgme-config.in
17index a4d152e..8342865 100644
18--- a/src/gpgme-config.in
19+++ b/src/gpgme-config.in
20@@ -154,7 +154,7 @@ while test $# -gt 0; do
21 for i in $libs $tmp_l $assuan_libs $gpg_error_libs $tmp_x; do
22 skip=no
23 case $i in
24- -L/usr/lib|-L/lib)
25+ -L/usr/lib*|-L/lib*)
26 skip=yes
27 ;;
28 -L*|-l*)
29--
Brad Bishop1a4b7ee2018-12-16 17:11:34 -0800302.7.4
Brad Bishopd7bf8c12018-02-25 22:55:05 -050031