Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 1 | From 57475742b0288b4ee53c01c59c3ab03c1ef7932e Mon Sep 17 00:00:00 2001 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Thu, 13 Apr 2017 16:40:27 +0300 |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 4 | Subject: [PATCH] gpgme-config: skip all /lib* or /usr/lib* directories in |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 5 | output |
| 6 | |
| 7 | The logic was not working in multilib setups which use other |
| 8 | directory names than plain /lib or /usr/lib. |
| 9 | |
| 10 | Upstream-Status: Inappropriate [oe-core specific] |
| 11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 12 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 13 | --- |
| 14 | src/gpgme-config.in | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/src/gpgme-config.in b/src/gpgme-config.in |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 18 | index 56b98f8..e96f3c3 100644 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 19 | --- a/src/gpgme-config.in |
| 20 | +++ b/src/gpgme-config.in |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 21 | @@ -157,7 +157,7 @@ while test $# -gt 0; do |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 22 | 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*) |