[PATCH v2] configure: Also try /usr/lib32/pkgconfig/ for the 32-bit PKG_CONFIG_PATH.

Zebediah Figura z.figura12 at gmail.com
Fri Sep 13 22:41:32 CDT 2019


As 20d41d9e2, but some distributions (e.g. Manjaro, and probably Arch in
general) use this path instead.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 configure    | 2 +-
 configure.ac | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index a3410e458e3..afad1972e37 100755
--- a/configure
+++ b/configure
@@ -5596,7 +5596,7 @@ $as_echo "$wine_cv_cc_m32" >&6; }
       notice_platform="32-bit "
       TARGETFLAGS="-m32"
 
-      PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
+      PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
       export PKG_CONFIG_PATH
       enable_win16=${enable_win16:-yes}
       with_unwind=${with_unwind:-no}
diff --git a/configure.ac b/configure.ac
index 133e1ee1c58..c6f0a625586 100644
--- a/configure.ac
+++ b/configure.ac
@@ -159,7 +159,7 @@ case $host in
       host_cpu="i386"
       notice_platform="32-bit "
       AC_SUBST(TARGETFLAGS,"-m32")
-      PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
+      PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
       export PKG_CONFIG_PATH
       enable_win16=${enable_win16:-yes}
       with_unwind=${with_unwind:-no}
-- 
2.23.0




More information about the wine-devel mailing list