[Gpg4win-devel] [PATCH] m4/gpg4win: Add /usr/host/bin folder in library search list.
Biswapriyo Nath
nathbappai at gmail.com
Fri Sep 18 15:52:37 CEST 2020
-------------- next part --------------
From 4d2a57db28e3491c1596df9480f87ae10b5452f0 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Fri, 18 Sep 2020 19:19:13 +0530
Subject: [PATCH] m4/gpg4win: Add /usr/host/bin folder in library search list.
The /usr/$host/bin folder is used in ArchLinux. See the file list
of mingw-w64-gcc package here:
https://www.archlinux.org/packages/community/x86_64/mingw-w64-gcc/files/
Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
m4/gpg4win.m4 | 1 +
1 file changed, 1 insertion(+)
diff --git a/m4/gpg4win.m4 b/m4/gpg4win.m4
index 768ca99..232af16 100644
--- a/m4/gpg4win.m4
+++ b/m4/gpg4win.m4
@@ -865,6 +865,7 @@ AC_DEFUN([GPG4WIN_RUNTIME_LIBRARY],
| awk 'NR==1 {split($NF,a,"."); print a[1] "." a[2]}')
changequote([,])
guesses="/usr/lib/gcc/$host/$gcc_major_minor/$1.dll
+ /usr/$host/bin/$1.dll
/usr/$host/lib/$1.dll
/usr/lib/gcc/$host/${gcc_major_minor}-win32/$1.dll
/usr/lib/gcc/$host/${gcc_major_minor_alt}-win32/$1.dll
--
2.27.0
More information about the Gpg4win-devel
mailing list