File otp_src_22.0-rc1-erts-linux.patch of Package erlang
diff -Ndurp otp_src_22.0-rc1/erts/aclocal.m4 otp_src_22.0-rc1-erts-linux/erts/aclocal.m4
--- otp_src_22.0-rc1/erts/aclocal.m4 2019-02-27 14:18:57.000000000 +0200
+++ otp_src_22.0-rc1-erts-linux/erts/aclocal.m4 2019-02-27 15:43:44.296568771 +0200
@@ -2965,6 +2965,9 @@ if test "$CFLAG_RUNTIME_LIBRARY_PATH" =
osf*)
CFLAG_RUNTIME_LIBRARY_PATH="-Wl,-rpath,"
;;
+ linux*)
+ CFLAG_RUNTIME_LIBRARY_PATH="-Wl,-rpath,"
+ ;;
*)
;;
esac