File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ project adheres to [Semantic Versioning][SemVer].
5
5
6
6
## [ Unreleased]
7
7
8
+ ### Fixed
9
+ - Binary release: Don't let Erlang/OTP link against libnsl.so.1, which is no
10
+ longer shipped by default on RedHat-based distributions, and isn't actually
11
+ needed (#19 ).
12
+
8
13
## [ 1.7.0] - 2021-12-15
9
14
### Added
10
15
- Introduce the ` listen ` option ` proxy_protocol ` for enabling HAproxy protocol
Original file line number Diff line number Diff line change @@ -1012,6 +1012,9 @@ build_rel()
1012
1012
export erl_xcomp_sysroot=" $prefix "
1013
1013
fi
1014
1014
cd " $target_src_dir /$otp_dir "
1015
+ # Don't link erl_call against libnsl (no longer included with glibc).
1016
+ sed -i -e ' /LIBS="-lnsl/d' -e ' /LIBS="-lsocket/d' \
1017
+ ' lib/erl_interface/configure'
1015
1018
# The additional CFLAGS/LIBS below are required by --enable-static-nifs.
1016
1019
$configure \
1017
1020
--prefix=" $prefix " \
You can’t perform that action at this time.
0 commit comments