File 0151-erts-Fix-dlpi-cross-compile-configure-test.patch of Package erlang
From 2a12c3f70e3318a8654a4d58cf1b97215de0382b Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas@erlang.org>
Date: Mon, 20 Jun 2022 10:52:21 +0200
Subject: [PATCH 1/4] erts: Fix dlpi cross compile configure test
---
erts/configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/erts/configure.ac b/erts/configure.ac
index 29eec06f65..d96c28d9b8 100644
--- a/erts/configure.ac
+++ b/erts/configure.ac
@@ -1700,9 +1700,9 @@ AS_IF([test x"$ac_cv_lib_dlpi_dlpi_open" = x"no"],
try_dlpi_lib=$erl_xcomp_sysroot/lib
if test x"$ac_cv_sizeof_void_p" = x"8"; then
if test -d $erl_xcomp_sysroot/lib64; then
- try_dlpi_lib= $erl_xcomp_sysroot/lib64
+ try_dlpi_lib=$erl_xcomp_sysroot/lib64
elif test -d $erl_xcomp_sysroot/lib/64; then
- try_dlpi_lib= $erl_xcomp_sysroot/lib/64
+ try_dlpi_lib=$erl_xcomp_sysroot/lib/64
fi
fi
if test ! -f "$try_dlpi_lib/libdlpi.so" && \
--
2.35.3