blob: 7fe0c9538a817611e0a21ac2a37d1cd9e8e24458 [file] [log] [blame]
Patrick Williams169d7bc2024-01-05 11:33:25 -06001From 57475742b0288b4ee53c01c59c3ab03c1ef7932e 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
Patrick Williams169d7bc2024-01-05 11:33:25 -06004Subject: [PATCH] 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>
Patrick Williams169d7bc2024-01-05 11:33:25 -060012
Brad Bishopd7bf8c12018-02-25 22:55:05 -050013---
14 src/gpgme-config.in | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/src/gpgme-config.in b/src/gpgme-config.in
Patrick Williams169d7bc2024-01-05 11:33:25 -060018index 56b98f8..e96f3c3 100644
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019--- a/src/gpgme-config.in
20+++ b/src/gpgme-config.in
Patrick Williams169d7bc2024-01-05 11:33:25 -060021@@ -157,7 +157,7 @@ while test $# -gt 0; do
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022 for i in $libs $tmp_l $assuan_libs $gpg_error_libs $tmp_x; do
23 skip=no
24 case $i in
25- -L/usr/lib|-L/lib)
26+ -L/usr/lib*|-L/lib*)
27 skip=yes
28 ;;
29 -L*|-l*)