summaryrefslogtreecommitdiff
path: root/erts/configure
diff options
context:
space:
mode:
authorRaimo Niskanen <raimo@erlang.org>2022-03-21 10:45:28 +0100
committerRaimo Niskanen <raimo@erlang.org>2022-03-21 10:45:28 +0100
commit82ce3e7e288f937d6a97ca7738903e56f9040e93 (patch)
treeb35983d8c91447209f9672c8459fdc7fc838d601 /erts/configure
parentb24cfcd03d9225237af3796b6cd2c82715211a66 (diff)
downloaderlang-82ce3e7e288f937d6a97ca7738903e56f9040e93.tar.gz
Update configure scripts
Diffstat (limited to 'erts/configure')
-rwxr-xr-xerts/configure14
1 files changed, 7 insertions, 7 deletions
diff --git a/erts/configure b/erts/configure
index c49cb06155..83f45efc38 100755
--- a/erts/configure
+++ b/erts/configure
@@ -16844,12 +16844,12 @@ then :
unset -v ac_cv_lib_dlpi_dlpi_open
save_ldflags="$LDFLAGS"
- try_dlpi_lib=/lib
+ try_dlpi_lib=$erl_xcomp_sysroot/lib
if test x"$ac_cv_sizeof_void_p" = x"8"; then
- if test -d /lib64; then
- try_dlpi_lib=/lib64
- elif test -d /lib/64; then
- try_dlpi_lib=/lib/64
+ if test -d $erl_xcomp_sysroot/lib64; then
+ try_dlpi_lib= $erl_xcomp_sysroot/lib64
+ elif test -d $erl_xcomp_sysroot/lib/64; then
+ try_dlpi_lib= $erl_xcomp_sysroot/lib/64
fi
fi
if test ! -f "$try_dlpi_lib/libdlpi.so" && \
@@ -16863,8 +16863,8 @@ then :
fi
LDFLAGS="-L$try_dlpi_lib -R$try_dlpi_lib $LDFLAGS"
unset -v try_dlpi_lib
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Extending the search to include /lib" >&5
-printf "%s\n" "$as_me: Extending the search to include /lib" >&6;}
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Extending the search to include $erl_xcomp_sysroot/lib" >&5
+printf "%s\n" "$as_me: Extending the search to include $erl_xcomp_sysroot/lib" >&6;}
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dlpi_open in -ldlpi" >&5
printf %s "checking for dlpi_open in -ldlpi... " >&6; }
if test ${ac_cv_lib_dlpi_dlpi_open+y}