File otp_src_18.0-erts-linux.patch of Package erlang

diff -Ndur otp_src_18.0/erts/configure.in otp_src_18.0-erts-linux/erts/configure.in
--- otp_src_18.0/erts/configure.in	2015-06-23 11:24:27.000000000 +0300
+++ otp_src_18.0-erts-linux/erts/configure.in	2015-06-26 00:43:45.017946924 +0300
@@ -522,6 +522,9 @@
   osf*)
 	CFLAG_RUNTIME_LIBRARY_PATH="-Wl,-rpath,"
 	;;
+  linux*)
+	CFLAG_RUNTIME_LIBRARY_PATH="-Wl,-rpath,"
+	;;
   *)
 	;;
 esac
@@ -4583,6 +4586,7 @@
 yes)   # Use standard lib locations for ssl runtime library path
 
   if test "$SSL_APP" != "" && test "$SSL_DYNAMIC_ONLY" = "yes" && \
+   test "$OPSYS" != "linux" &&
    { test "$cc_rflg" != "" || test "$ld_rflg" != "" || test "$ded_ld_rflg" != ""; } ; then
 
     AC_MSG_CHECKING(for ssl runtime library path to use)
openSUSE Build Service is sponsored by