mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
make-binaries: Revert temporarily an OTP commit that breaks MSSQL (#4178)
This commit is contained in:
parent
1b81af00b2
commit
b288d5c763
1 changed files with 3 additions and 0 deletions
|
@ -684,6 +684,9 @@ build_deps()
|
|||
export erl_xcomp_sysroot="$prefix"
|
||||
fi
|
||||
cd "$target_src_dir/$otp_dir"
|
||||
# Revert https://github.com/erlang/otp/commit/53ef5df40c733ce3d8215c5c98805f99f378f656
|
||||
# because it breaks MSSQL, see https://github.com/processone/ejabberd/issues/4178
|
||||
sed -i 's|if(size == 0 && (sql_type == SQL_LONGVARCHAR|if((sql_type == SQL_LONGVARCHAR|g' lib/odbc/c_src/odbcserver.c
|
||||
# The additional CFLAGS/LIBS below are required by --enable-static-nifs.
|
||||
# The "-ldl" flag specifically is only needed for ODBC, though.
|
||||
$configure \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue