Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From a58d90632a9907be3e8001800a143ac19075241a 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 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 4 | Subject: [PATCH 5/7] 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> |
| 12 | --- |
| 13 | src/gpgme-config.in | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/src/gpgme-config.in b/src/gpgme-config.in |
| 17 | index 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 Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 30 | 2.7.4 |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 31 | |