25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

make-binaries: Remove outdated workaround

Remove a workaround for an issue that has been fixed in Erlang/OTP 25:

https://github.com/erlang/otp/pull/5558
This commit is contained in:
Holger Weiss 2023-07-24 00:11:32 +02:00
parent d109d7f0c5
commit c03af0afb3

View File

@ -684,9 +684,6 @@ build_deps()
export erl_xcomp_sysroot="$prefix" export erl_xcomp_sysroot="$prefix"
fi fi
cd "$target_src_dir/$otp_dir" cd "$target_src_dir/$otp_dir"
# Don't link against libnsl: https://github.com/erlang/otp/pull/5558
sed -i -e '/LIBS="-lnsl/d' -e '/LIBS="-lsocket/d' \
'lib/erl_interface/configure'
# The additional CFLAGS/LIBS below are required by --enable-static-nifs. # The additional CFLAGS/LIBS below are required by --enable-static-nifs.
# The "-ldl" flag specifically is only needed for ODBC, though. # The "-ldl" flag specifically is only needed for ODBC, though.
$configure \ $configure \